Struct lightning::ln::msgs::Shutdown [−][src]
Expand description
A shutdown message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
scriptpubkey: Script
The destination of this peer’s funds on closing. Must be in one of these forms: p2pkh, p2sh, p2wpkh, p2wsh.
Trait Implementations
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
Mutably borrows from an owned value. Read more