pub struct ChannelOpenIntentBodyV1 {Show 28 fields
pub schema: String,
pub open_intent_id: String,
pub payer_id: String,
pub payer_key: PublicKey,
pub payer_key_epoch: u64,
pub payer_refund_address: String,
pub payee_id: String,
pub payee_key: PublicKey,
pub payee_key_epoch: u64,
pub payee_beneficiary_address: String,
pub settlement_authority_scope_id: String,
pub currency: String,
pub bound: MonetaryAmount,
pub asset_binding: ChannelAssetBindingV1,
pub bound_token_base_units: String,
pub channel_expiry_unix_secs: u64,
pub dispute_tier_upper_bound_units: u64,
pub dispute_window_secs: u64,
pub required_confirmations: u64,
pub finality_mode: Web3FinalityMode,
pub fixed_finality_broadcast_margin_secs: u64,
pub close_submission_cutoff_unix_secs: u64,
pub original_web3_dispatch_digest: String,
pub escrow_reference: ChannelEscrowReferenceV1,
pub funding_evidence_digest: String,
pub original_operator: String,
pub original_operator_key_hash: String,
pub participant_snapshot_digest: String,
}Fields§
§schema: String§open_intent_id: String§payer_id: String§payer_key: PublicKey§payer_key_epoch: u64§payer_refund_address: String§payee_id: String§payee_key: PublicKey§payee_key_epoch: u64§payee_beneficiary_address: String§currency: String§bound: MonetaryAmount§asset_binding: ChannelAssetBindingV1§bound_token_base_units: String§channel_expiry_unix_secs: u64§dispute_tier_upper_bound_units: u64§dispute_window_secs: u64§required_confirmations: u64§finality_mode: Web3FinalityMode§fixed_finality_broadcast_margin_secs: u64§close_submission_cutoff_unix_secs: u64§original_web3_dispatch_digest: String§escrow_reference: ChannelEscrowReferenceV1§funding_evidence_digest: String§original_operator: String§original_operator_key_hash: String§participant_snapshot_digest: StringImplementations§
Source§impl ChannelOpenIntentBodyV1
impl ChannelOpenIntentBodyV1
pub fn validate(&self) -> Result<(), ChannelError>
Trait Implementations§
Source§impl Clone for ChannelOpenIntentBodyV1
impl Clone for ChannelOpenIntentBodyV1
Source§fn clone(&self) -> ChannelOpenIntentBodyV1
fn clone(&self) -> ChannelOpenIntentBodyV1
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 ChannelOpenIntentBodyV1
impl Debug for ChannelOpenIntentBodyV1
Source§impl<'de> Deserialize<'de> for ChannelOpenIntentBodyV1
impl<'de> Deserialize<'de> for ChannelOpenIntentBodyV1
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 ChannelOpenIntentBodyV1
Source§impl PartialEq for ChannelOpenIntentBodyV1
impl PartialEq for ChannelOpenIntentBodyV1
Source§impl Serialize for ChannelOpenIntentBodyV1
impl Serialize for ChannelOpenIntentBodyV1
impl StructuralPartialEq for ChannelOpenIntentBodyV1
Auto Trait Implementations§
impl Freeze for ChannelOpenIntentBodyV1
impl RefUnwindSafe for ChannelOpenIntentBodyV1
impl Send for ChannelOpenIntentBodyV1
impl Sync for ChannelOpenIntentBodyV1
impl Unpin for ChannelOpenIntentBodyV1
impl UnsafeUnpin for ChannelOpenIntentBodyV1
impl UnwindSafe for ChannelOpenIntentBodyV1
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