pub enum FieldOrXrpAmount {
Field(FieldId),
XrpAmount,
NonXrpAmount,
}
Expand description
Field or amount type
Used as return of slot_type function
Variants§
Field(FieldId)
Field ID
XrpAmount
STI_AMOUNT type contains a native (XRP) amount
NonXrpAmount
STI_AMOUNT type contains non-XRP amount
Trait Implementations§
Source§impl Clone for FieldOrXrpAmount
impl Clone for FieldOrXrpAmount
Source§fn clone(&self) -> FieldOrXrpAmount
fn clone(&self) -> FieldOrXrpAmount
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 moreimpl Copy for FieldOrXrpAmount
Auto Trait Implementations§
impl Freeze for FieldOrXrpAmount
impl RefUnwindSafe for FieldOrXrpAmount
impl Send for FieldOrXrpAmount
impl Sync for FieldOrXrpAmount
impl Unpin for FieldOrXrpAmount
impl UnwindSafe for FieldOrXrpAmount
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