pub enum TransferResult {
Issued,
Applied {
posted: u128,
released: u128,
},
Reserved,
Voided,
Expired,
Opened,
}Expand description
What a successful op did — the positive half of an Outcome.
Variants§
Issued
Supply issued (credit).
Applied
A single-phase or posted two-phase settlement.
Fields
Reserved
A phase-1 hold was placed (reserve).
Voided
A reservation was cancelled (void).
Expired
A reservation expired (produced by the sweep or on-touch).
Opened
An account was created (open_account via the journal).
Trait Implementations§
Source§impl Clone for TransferResult
impl Clone for TransferResult
Source§fn clone(&self) -> TransferResult
fn clone(&self) -> TransferResult
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 TransferResult
impl Debug for TransferResult
Source§impl<'de> Deserialize<'de> for TransferResult
impl<'de> Deserialize<'de> for TransferResult
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
Source§impl PartialEq for TransferResult
impl PartialEq for TransferResult
Source§fn eq(&self, other: &TransferResult) -> bool
fn eq(&self, other: &TransferResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransferResult
impl Serialize for TransferResult
impl Eq for TransferResult
impl StructuralPartialEq for TransferResult
Auto Trait Implementations§
impl Freeze for TransferResult
impl RefUnwindSafe for TransferResult
impl Send for TransferResult
impl Sync for TransferResult
impl Unpin for TransferResult
impl UnsafeUnpin for TransferResult
impl UnwindSafe for TransferResult
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