pub struct ChannelFundingEvidenceBodyV1 {
pub schema: String,
pub escrow_reference: ChannelEscrowReferenceV1,
pub escrow_terms: ChannelEscrowTermsV1,
pub escrow_state: ChannelEscrowStateV1,
pub escrow_state_read: ChannelPinnedStateReadV1,
pub creation_event: ChannelEscrowCreatedEventV1,
pub identity_observation: ChannelIdentityRegistryObservationV1,
pub token_observation: ChannelTokenObservationV1,
pub asset_binding: ChannelAssetBindingV1,
pub block_pin: ChannelBlockPinV1,
pub evidence_expires_at_unix_ms: u64,
}Fields§
§schema: String§escrow_reference: ChannelEscrowReferenceV1§escrow_terms: ChannelEscrowTermsV1§escrow_state: ChannelEscrowStateV1§escrow_state_read: ChannelPinnedStateReadV1§creation_event: ChannelEscrowCreatedEventV1§identity_observation: ChannelIdentityRegistryObservationV1§token_observation: ChannelTokenObservationV1§asset_binding: ChannelAssetBindingV1§block_pin: ChannelBlockPinV1§evidence_expires_at_unix_ms: u64Implementations§
Source§impl ChannelFundingEvidenceBodyV1
impl ChannelFundingEvidenceBodyV1
pub fn validate(&self) -> Result<(), ChannelError>
pub fn digest(&self) -> Result<String, ChannelError>
Trait Implementations§
Source§impl Clone for ChannelFundingEvidenceBodyV1
impl Clone for ChannelFundingEvidenceBodyV1
Source§fn clone(&self) -> ChannelFundingEvidenceBodyV1
fn clone(&self) -> ChannelFundingEvidenceBodyV1
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 ChannelFundingEvidenceBodyV1
impl Debug for ChannelFundingEvidenceBodyV1
Source§impl<'de> Deserialize<'de> for ChannelFundingEvidenceBodyV1
impl<'de> Deserialize<'de> for ChannelFundingEvidenceBodyV1
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 ChannelFundingEvidenceBodyV1
impl StructuralPartialEq for ChannelFundingEvidenceBodyV1
Auto Trait Implementations§
impl Freeze for ChannelFundingEvidenceBodyV1
impl RefUnwindSafe for ChannelFundingEvidenceBodyV1
impl Send for ChannelFundingEvidenceBodyV1
impl Sync for ChannelFundingEvidenceBodyV1
impl Unpin for ChannelFundingEvidenceBodyV1
impl UnsafeUnpin for ChannelFundingEvidenceBodyV1
impl UnwindSafe for ChannelFundingEvidenceBodyV1
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