Struct lightning::ln::msgs::ClosingSigned
source · pub struct ClosingSigned {
pub channel_id: [u8; 32],
pub fee_satoshis: u64,
pub signature: Signature,
pub fee_range: Option<ClosingSignedFeeRange>,
}
Expand description
A closing_signed
message to be sent to or received from a peer.
Fields§
§channel_id: [u8; 32]
The channel ID
fee_satoshis: u64
The proposed total fee for the closing transaction
signature: Signature
A signature on the closing transaction
fee_range: Option<ClosingSignedFeeRange>
The minimum and maximum fees which the sender is willing to accept, provided only by new nodes.
Trait Implementations§
source§impl Clone for ClosingSigned
impl Clone for ClosingSigned
source§fn clone(&self) -> ClosingSigned
fn clone(&self) -> ClosingSigned
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 ClosingSigned
impl Debug for ClosingSigned
source§impl PartialEq<ClosingSigned> for ClosingSigned
impl PartialEq<ClosingSigned> for ClosingSigned
source§fn eq(&self, other: &ClosingSigned) -> bool
fn eq(&self, other: &ClosingSigned) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for ClosingSigned
impl Readable for ClosingSigned
source§impl Writeable for ClosingSigned
impl Writeable for ClosingSigned
impl Eq for ClosingSigned
impl StructuralEq for ClosingSigned
impl StructuralPartialEq for ClosingSigned
Auto Trait Implementations§
impl RefUnwindSafe for ClosingSigned
impl Send for ClosingSigned
impl Sync for ClosingSigned
impl Unpin for ClosingSigned
impl UnwindSafe for ClosingSigned
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