pub struct ChannelTerminalOutcomeCommitmentBodyV1 {
pub schema: String,
pub operation_id: String,
pub reservation_id: String,
pub reservation_digest: String,
pub receipt_id: String,
pub receipt_digest: String,
pub terminal_result: EconomicTerminalResultV1,
pub outcome_recorded_at_unix_ms: u64,
pub terminalized_at_unix_ms: u64,
}Fields§
§schema: String§operation_id: String§reservation_id: String§reservation_digest: String§receipt_id: String§receipt_digest: String§terminal_result: EconomicTerminalResultV1§outcome_recorded_at_unix_ms: u64§terminalized_at_unix_ms: u64Implementations§
Source§impl ChannelTerminalOutcomeCommitmentBodyV1
impl ChannelTerminalOutcomeCommitmentBodyV1
pub fn validate(&self) -> Result<(), ChannelError>
Trait Implementations§
Source§impl Clone for ChannelTerminalOutcomeCommitmentBodyV1
impl Clone for ChannelTerminalOutcomeCommitmentBodyV1
Source§fn clone(&self) -> ChannelTerminalOutcomeCommitmentBodyV1
fn clone(&self) -> ChannelTerminalOutcomeCommitmentBodyV1
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<'de> Deserialize<'de> for ChannelTerminalOutcomeCommitmentBodyV1
impl<'de> Deserialize<'de> for ChannelTerminalOutcomeCommitmentBodyV1
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 ChannelTerminalOutcomeCommitmentBodyV1
impl StructuralPartialEq for ChannelTerminalOutcomeCommitmentBodyV1
Auto Trait Implementations§
impl Freeze for ChannelTerminalOutcomeCommitmentBodyV1
impl RefUnwindSafe for ChannelTerminalOutcomeCommitmentBodyV1
impl Send for ChannelTerminalOutcomeCommitmentBodyV1
impl Sync for ChannelTerminalOutcomeCommitmentBodyV1
impl Unpin for ChannelTerminalOutcomeCommitmentBodyV1
impl UnsafeUnpin for ChannelTerminalOutcomeCommitmentBodyV1
impl UnwindSafe for ChannelTerminalOutcomeCommitmentBodyV1
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