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