Struct lightning::ln::msgs::RevokeAndACK
source · pub struct RevokeAndACK {
pub channel_id: ChannelId,
pub per_commitment_secret: [u8; 32],
pub next_per_commitment_point: PublicKey,
}
Expand description
A revoke_and_ack
message to be sent to or received from a peer.
Fields§
§channel_id: ChannelId
The channel ID
per_commitment_secret: [u8; 32]
The secret corresponding to the per-commitment point
next_per_commitment_point: PublicKey
The next sender-broadcast commitment transaction’s per-commitment point
Trait Implementations§
source§impl Clone for RevokeAndACK
impl Clone for RevokeAndACK
source§fn clone(&self) -> RevokeAndACK
fn clone(&self) -> RevokeAndACK
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 RevokeAndACK
impl Debug for RevokeAndACK
source§impl Hash for RevokeAndACK
impl Hash for RevokeAndACK
source§impl PartialEq for RevokeAndACK
impl PartialEq for RevokeAndACK
source§fn eq(&self, other: &RevokeAndACK) -> bool
fn eq(&self, other: &RevokeAndACK) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for RevokeAndACK
impl Readable for RevokeAndACK
source§impl Writeable for RevokeAndACK
impl Writeable for RevokeAndACK
impl Eq for RevokeAndACK
impl StructuralPartialEq for RevokeAndACK
Auto Trait Implementations§
impl Freeze for RevokeAndACK
impl RefUnwindSafe for RevokeAndACK
impl Send for RevokeAndACK
impl Sync for RevokeAndACK
impl Unpin for RevokeAndACK
impl UnwindSafe for RevokeAndACK
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