Enum rshooks_api::api::FieldOrXrpAmount
source · pub enum FieldOrXrpAmount {
Field(FieldId),
NativeAmount,
NonNativeAmount,
}Expand description
Field or amount type
Used as return of slot_type function
Variants§
Field(FieldId)
Field ID
NativeAmount
STI_AMOUNT type contains a native amount
NonNativeAmount
STI_AMOUNT type contains non-native amount
Trait Implementations§
source§impl Clone for FieldOrXrpAmount
impl Clone for FieldOrXrpAmount
source§fn clone(&self) -> FieldOrXrpAmount
fn clone(&self) -> FieldOrXrpAmount
Returns a copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)