pub struct RevokeAndAck {
pub channel_id: Hash256,
pub revocation_partial_signature: PartialSignature,
pub next_per_commitment_point: Pubkey,
pub next_revocation_nonce: PubNonce,
}Expand description
Message to revoke the previous commitment and acknowledge the new one.
Fields§
§channel_id: Hash256§revocation_partial_signature: PartialSignature§next_per_commitment_point: Pubkey§next_revocation_nonce: PubNonceTrait Implementations§
Source§impl Clone for RevokeAndAck
impl Clone for RevokeAndAck
Source§fn clone(&self) -> RevokeAndAck
fn clone(&self) -> RevokeAndAck
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 Debug for RevokeAndAck
impl Debug for RevokeAndAck
Source§impl<'de> Deserialize<'de> for RevokeAndAck
impl<'de> Deserialize<'de> for RevokeAndAck
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RevokeAndAck> for RevokeAndAck
impl From<RevokeAndAck> for RevokeAndAck
Source§fn from(revoke_and_ack: RevokeAndAck) -> Self
fn from(revoke_and_ack: RevokeAndAck) -> Self
Converts to this type from the input type.
Source§impl Serialize for RevokeAndAck
impl Serialize for RevokeAndAck
Source§impl TryFrom<RevokeAndAck> for RevokeAndAck
impl TryFrom<RevokeAndAck> 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 UnsafeUnpin 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