pub enum TransactionRequestAmount {
String(String),
Number(f64),
}
Expand description
TransactionRequestAmount : For TRANSFER
operations, the requested amount
to transfer, in the asset’s unit. Fireblocks recommends using a numeric
string for accurate precision. Although a number input exists, it is
deprecated. For TRANSFER
operations, the requested amount to transfer, in
the asset’s unit. Fireblocks recommends using a numeric string for accurate
precision. Although a number input exists, it is deprecated.
Variants§
Trait Implementations§
Source§impl Clone for TransactionRequestAmount
impl Clone for TransactionRequestAmount
Source§fn clone(&self) -> TransactionRequestAmount
fn clone(&self) -> TransactionRequestAmount
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 TransactionRequestAmount
impl Debug for TransactionRequestAmount
Source§impl Default for TransactionRequestAmount
impl Default for TransactionRequestAmount
Source§impl<'de> Deserialize<'de> for TransactionRequestAmount
impl<'de> Deserialize<'de> for TransactionRequestAmount
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 PartialEq for TransactionRequestAmount
impl PartialEq for TransactionRequestAmount
Source§impl Serialize for TransactionRequestAmount
impl Serialize for TransactionRequestAmount
impl StructuralPartialEq for TransactionRequestAmount
Auto Trait Implementations§
impl Freeze for TransactionRequestAmount
impl RefUnwindSafe for TransactionRequestAmount
impl Send for TransactionRequestAmount
impl Sync for TransactionRequestAmount
impl Unpin for TransactionRequestAmount
impl UnwindSafe for TransactionRequestAmount
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