pub struct ChannelStateChainProofV1 {
pub base_state_digest: String,
pub states: Vec<SignedChannelStateV1>,
}Fields§
§base_state_digest: String§states: Vec<SignedChannelStateV1>Implementations§
Source§impl ChannelStateChainProofV1
impl ChannelStateChainProofV1
pub fn digest(&self) -> Result<String, ChannelError>
Trait Implementations§
Source§impl Clone for ChannelStateChainProofV1
impl Clone for ChannelStateChainProofV1
Source§fn clone(&self) -> ChannelStateChainProofV1
fn clone(&self) -> ChannelStateChainProofV1
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 ChannelStateChainProofV1
impl Debug for ChannelStateChainProofV1
Source§impl<'de> Deserialize<'de> for ChannelStateChainProofV1
impl<'de> Deserialize<'de> for ChannelStateChainProofV1
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 ChannelStateChainProofV1
Source§impl PartialEq for ChannelStateChainProofV1
impl PartialEq for ChannelStateChainProofV1
Source§impl Serialize for ChannelStateChainProofV1
impl Serialize for ChannelStateChainProofV1
impl StructuralPartialEq for ChannelStateChainProofV1
Auto Trait Implementations§
impl Freeze for ChannelStateChainProofV1
impl RefUnwindSafe for ChannelStateChainProofV1
impl Send for ChannelStateChainProofV1
impl Sync for ChannelStateChainProofV1
impl Unpin for ChannelStateChainProofV1
impl UnsafeUnpin for ChannelStateChainProofV1
impl UnwindSafe for ChannelStateChainProofV1
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