pub struct SignedChannelStateV1 {
pub body: ChannelStateBodyV1,
pub payee_signature: ChannelSignatureV1,
}Fields§
§body: ChannelStateBodyV1§payee_signature: ChannelSignatureV1Implementations§
Source§impl SignedChannelStateV1
impl SignedChannelStateV1
pub fn digest(&self) -> Result<String, ChannelError>
Trait Implementations§
Source§impl Clone for SignedChannelStateV1
impl Clone for SignedChannelStateV1
Source§fn clone(&self) -> SignedChannelStateV1
fn clone(&self) -> SignedChannelStateV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignedChannelStateV1
impl Debug for SignedChannelStateV1
Source§impl<'de> Deserialize<'de> for SignedChannelStateV1
impl<'de> Deserialize<'de> for SignedChannelStateV1
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
impl Eq for SignedChannelStateV1
Source§impl PartialEq for SignedChannelStateV1
impl PartialEq for SignedChannelStateV1
Source§impl Serialize for SignedChannelStateV1
impl Serialize for SignedChannelStateV1
impl StructuralPartialEq for SignedChannelStateV1
Auto Trait Implementations§
impl Freeze for SignedChannelStateV1
impl RefUnwindSafe for SignedChannelStateV1
impl Send for SignedChannelStateV1
impl Sync for SignedChannelStateV1
impl Unpin for SignedChannelStateV1
impl UnsafeUnpin for SignedChannelStateV1
impl UnwindSafe for SignedChannelStateV1
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