pub struct ClosedChannel {
pub counter_party: PublicKey,
pub temporary_channel_id: ChannelId,
pub channel_id: ChannelId,
}
Expand description
A channel is closed when its buffer transaction has been spent.
Fields§
§counter_party: PublicKey
The secp256k1_zkp::PublicKey
of the counter party.
temporary_channel_id: ChannelId
The temporary crate::ChannelId
of the channel.
channel_id: ChannelId
The crate::ChannelId
for the channel.
Trait Implementations§
Source§impl Clone for ClosedChannel
impl Clone for ClosedChannel
Source§fn clone(&self) -> ClosedChannel
fn clone(&self) -> ClosedChannel
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 Readable for ClosedChannel
impl Readable for ClosedChannel
Source§impl Writeable for ClosedChannel
impl Writeable for ClosedChannel
Auto Trait Implementations§
impl Freeze for ClosedChannel
impl RefUnwindSafe for ClosedChannel
impl Send for ClosedChannel
impl Sync for ClosedChannel
impl Unpin for ClosedChannel
impl UnwindSafe for ClosedChannel
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