#[repr(u32)]pub enum AmountType {
Show 13 variants
Amount = 1,
Balance = 2,
LimitAmount = 3,
TakerPays = 4,
TakerGets = 5,
LowLimit = 6,
HighLimit = 7,
Fee = 8,
SendMax = 9,
DeliverMin = 10,
MinimumOffer = 16,
RippleEscrow = 17,
DeliveredAmount = 18,
}
Expand description
Amount type
Variants§
Amount = 1
Balance = 2
LimitAmount = 3
TakerPays = 4
TakerGets = 5
LowLimit = 6
HighLimit = 7
Fee = 8
SendMax = 9
DeliverMin = 10
MinimumOffer = 16
RippleEscrow = 17
DeliveredAmount = 18
Trait Implementations§
Source§impl Clone for AmountType
impl Clone for AmountType
Source§fn clone(&self) -> AmountType
fn clone(&self) -> AmountType
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 moreSource§impl From<AmountType> for u8
impl From<AmountType> for u8
Source§fn from(amount_type: AmountType) -> Self
fn from(amount_type: AmountType) -> Self
Converts to this type from the input type.
impl Copy for AmountType
Auto Trait Implementations§
impl Freeze for AmountType
impl RefUnwindSafe for AmountType
impl Send for AmountType
impl Sync for AmountType
impl Unpin for AmountType
impl UnwindSafe for AmountType
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