pub enum TransactionDirection {
Incoming,
Outgoing,
}
Expand description
Transaction Direction
Variants§
Incoming
Incoming transaction (i.e., receive or mint)
Outgoing
Outgoing transaction (i.e., send or melt)
Trait Implementations§
Source§impl Clone for TransactionDirection
impl Clone for TransactionDirection
Source§fn clone(&self) -> TransactionDirection
fn clone(&self) -> TransactionDirection
Returns a duplicate of the value. Read more
1.0.0 · 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 TransactionDirection
impl Debug for TransactionDirection
Source§impl<'de> Deserialize<'de> for TransactionDirection
impl<'de> Deserialize<'de> for TransactionDirection
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 Display for TransactionDirection
impl Display for TransactionDirection
Source§impl FromStr for TransactionDirection
impl FromStr for TransactionDirection
Source§impl PartialEq for TransactionDirection
impl PartialEq for TransactionDirection
Source§impl Serialize for TransactionDirection
impl Serialize for TransactionDirection
impl Copy for TransactionDirection
impl Eq for TransactionDirection
impl StructuralPartialEq for TransactionDirection
Auto Trait Implementations§
impl Freeze for TransactionDirection
impl RefUnwindSafe for TransactionDirection
impl Send for TransactionDirection
impl Sync for TransactionDirection
impl Unpin for TransactionDirection
impl UnwindSafe for TransactionDirection
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