Struct lightning::ln::msgs::FundingCreated
source · pub struct FundingCreated {
pub temporary_channel_id: ChannelId,
pub funding_txid: Txid,
pub funding_output_index: u16,
pub signature: Signature,
}
Expand description
A funding_created
message to be sent to or received from a peer.
Used in V1 channel establishment
Fields§
§temporary_channel_id: ChannelId
A temporary channel ID, until the funding is established
funding_txid: Txid
The funding transaction ID
funding_output_index: u16
The specific output index funding this channel
signature: Signature
The signature of the channel initiator (funder) on the initial commitment transaction
Trait Implementations§
source§impl Clone for FundingCreated
impl Clone for FundingCreated
source§fn clone(&self) -> FundingCreated
fn clone(&self) -> FundingCreated
Returns a copy 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 FundingCreated
impl Debug for FundingCreated
source§impl Hash for FundingCreated
impl Hash for FundingCreated
source§impl PartialEq for FundingCreated
impl PartialEq for FundingCreated
source§fn eq(&self, other: &FundingCreated) -> bool
fn eq(&self, other: &FundingCreated) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for FundingCreated
impl Readable for FundingCreated
source§impl Writeable for FundingCreated
impl Writeable for FundingCreated
impl Eq for FundingCreated
impl StructuralPartialEq for FundingCreated
Auto Trait Implementations§
impl Freeze for FundingCreated
impl RefUnwindSafe for FundingCreated
impl Send for FundingCreated
impl Sync for FundingCreated
impl Unpin for FundingCreated
impl UnwindSafe for FundingCreated
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