pub enum FundingInfo {
Tx {
transaction: Transaction,
},
OutPoint {
outpoint: OutPoint,
},
}Expand description
FundingInfo holds information about a channel’s funding transaction.
When LDK is set to manual propagation of the funding transaction
(via [ChannelManager::unsafe_manual_funding_transaction_generated),
LDK does not have the full transaction data. Instead, the OutPoint
for the funding is provided here.
Variants§
Tx
The full funding Transaction.
Fields
§
transaction: TransactionThe funding transaction
OutPoint
The OutPoint of the funding.
Trait Implementations§
Source§impl Clone for FundingInfo
impl Clone for FundingInfo
Source§fn clone(&self) -> FundingInfo
fn clone(&self) -> FundingInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FundingInfo
impl Debug for FundingInfo
Source§impl PartialEq for FundingInfo
impl PartialEq for FundingInfo
Source§impl Readable for FundingInfo
impl Readable for FundingInfo
Source§impl Writeable for FundingInfo
impl Writeable for FundingInfo
impl Eq for FundingInfo
impl StructuralPartialEq for FundingInfo
Auto Trait Implementations§
impl Freeze for FundingInfo
impl RefUnwindSafe for FundingInfo
impl Send for FundingInfo
impl Sync for FundingInfo
impl Unpin for FundingInfo
impl UnwindSafe for FundingInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more