pub struct ChannelDisputeBodyV1 {
pub schema: String,
pub dispute_id: String,
pub channel_id: String,
pub close_digest: String,
pub close_state_digest: String,
pub close_state_sequence: u64,
pub competing_state_digest: String,
pub competing_state_sequence: u64,
pub state_chain_proof_digest: String,
pub reason: String,
pub submitted_at_unix_ms: u64,
}Fields§
§schema: String§dispute_id: String§channel_id: String§close_digest: String§close_state_digest: String§close_state_sequence: u64§competing_state_digest: String§competing_state_sequence: u64§state_chain_proof_digest: String§reason: String§submitted_at_unix_ms: u64Implementations§
Source§impl ChannelDisputeBodyV1
impl ChannelDisputeBodyV1
pub fn validate(&self) -> Result<(), ChannelError>
Trait Implementations§
Source§impl Clone for ChannelDisputeBodyV1
impl Clone for ChannelDisputeBodyV1
Source§fn clone(&self) -> ChannelDisputeBodyV1
fn clone(&self) -> ChannelDisputeBodyV1
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 ChannelDisputeBodyV1
impl Debug for ChannelDisputeBodyV1
Source§impl<'de> Deserialize<'de> for ChannelDisputeBodyV1
impl<'de> Deserialize<'de> for ChannelDisputeBodyV1
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 ChannelDisputeBodyV1
Source§impl PartialEq for ChannelDisputeBodyV1
impl PartialEq for ChannelDisputeBodyV1
Source§impl Serialize for ChannelDisputeBodyV1
impl Serialize for ChannelDisputeBodyV1
impl StructuralPartialEq for ChannelDisputeBodyV1
Auto Trait Implementations§
impl Freeze for ChannelDisputeBodyV1
impl RefUnwindSafe for ChannelDisputeBodyV1
impl Send for ChannelDisputeBodyV1
impl Sync for ChannelDisputeBodyV1
impl Unpin for ChannelDisputeBodyV1
impl UnsafeUnpin for ChannelDisputeBodyV1
impl UnwindSafe for ChannelDisputeBodyV1
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