pub struct Shutdown {
pub channel_id: ChannelId,
pub scriptpubkey: ScriptBuf,
}Expand description
A shutdown message to be sent to or received from a peer.
Fields§
§channel_id: ChannelIdThe channel ID
scriptpubkey: ScriptBufThe destination of this peer’s funds on closing.
Must be in one of these forms: P2PKH, P2SH, P2WPKH, P2WSH, P2TR.
Trait Implementations§
Source§impl Writeable for Shutdown
impl Writeable for Shutdown
impl Eq for Shutdown
impl StructuralPartialEq for Shutdown
Auto Trait Implementations§
impl Freeze for Shutdown
impl RefUnwindSafe for Shutdown
impl Send for Shutdown
impl Sync for Shutdown
impl Unpin for Shutdown
impl UnwindSafe for Shutdown
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