pub struct ChannelStateBodyV1 {Show 15 fields
pub schema: String,
pub channel_id: String,
pub seq: u64,
pub prev_state_digest: Option<String>,
pub cumulative_owed: MonetaryAmount,
pub receipt_id_root: String,
pub receipt_count: u64,
pub receipt_id: Option<String>,
pub receipt_digest: Option<String>,
pub receipt_authority_digest: Option<String>,
pub obligation_atom_digest: Option<String>,
pub reservation_digest: Option<String>,
pub actual_charge: Option<MonetaryAmount>,
pub cumulative_token_base_units: String,
pub asset_binding_digest: String,
}Fields§
§schema: String§channel_id: String§seq: u64§prev_state_digest: Option<String>§cumulative_owed: MonetaryAmount§receipt_id_root: String§receipt_count: u64§receipt_id: Option<String>§receipt_digest: Option<String>§obligation_atom_digest: Option<String>§reservation_digest: Option<String>§actual_charge: Option<MonetaryAmount>§cumulative_token_base_units: String§asset_binding_digest: StringImplementations§
Trait Implementations§
Source§impl Clone for ChannelStateBodyV1
impl Clone for ChannelStateBodyV1
Source§fn clone(&self) -> ChannelStateBodyV1
fn clone(&self) -> ChannelStateBodyV1
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 ChannelStateBodyV1
impl Debug for ChannelStateBodyV1
Source§impl<'de> Deserialize<'de> for ChannelStateBodyV1
impl<'de> Deserialize<'de> for ChannelStateBodyV1
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 ChannelStateBodyV1
Source§impl PartialEq for ChannelStateBodyV1
impl PartialEq for ChannelStateBodyV1
Source§impl Serialize for ChannelStateBodyV1
impl Serialize for ChannelStateBodyV1
impl StructuralPartialEq for ChannelStateBodyV1
Auto Trait Implementations§
impl Freeze for ChannelStateBodyV1
impl RefUnwindSafe for ChannelStateBodyV1
impl Send for ChannelStateBodyV1
impl Sync for ChannelStateBodyV1
impl Unpin for ChannelStateBodyV1
impl UnsafeUnpin for ChannelStateBodyV1
impl UnwindSafe for ChannelStateBodyV1
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