pub enum Amount {
Issued(IssuedAmount),
Drops(DropsAmount),
}
Expand description
Amount of XRP or issued token. See https://xrpl.org/currency-formats.html#specifying-currency-amounts and https://xrpl.org/serialization.html#amount-fields
Variants§
Issued(IssuedAmount)
Drops(DropsAmount)
Implementations§
Trait Implementations§
impl Copy for Amount
impl Eq for Amount
impl StructuralPartialEq for Amount
Auto Trait Implementations§
impl Freeze for Amount
impl RefUnwindSafe for Amount
impl Send for Amount
impl Sync for Amount
impl Unpin for Amount
impl UnwindSafe for Amount
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