pub struct AmountInfo {
pub amount: Option<String>,
pub requested_amount: Option<String>,
pub net_amount: Option<String>,
pub amount_usd: Option<String>,
}
Expand description
AmountInfo : The details of the requested amount to transfer.
Fields§
§amount: Option<String>
If the transfer is a withdrawal from an exchange, the actual amount that was requested to be transferred. Otherwise, the requested amount.
requested_amount: Option<String>
The amount requested by the user.
net_amount: Option<String>
The net amount of the transaction, after fee deduction.
amount_usd: Option<String>
The USD value of the requested amount.
Implementations§
Source§impl AmountInfo
impl AmountInfo
Sourcepub fn new() -> AmountInfo
pub fn new() -> AmountInfo
The details of the requested amount to transfer.
Trait Implementations§
Source§impl Clone for AmountInfo
impl Clone for AmountInfo
Source§fn clone(&self) -> AmountInfo
fn clone(&self) -> AmountInfo
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 AmountInfo
impl Debug for AmountInfo
Source§impl Default for AmountInfo
impl Default for AmountInfo
Source§fn default() -> AmountInfo
fn default() -> AmountInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmountInfo
impl<'de> Deserialize<'de> for AmountInfo
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 AmountInfo
impl PartialEq for AmountInfo
Source§impl Serialize for AmountInfo
impl Serialize for AmountInfo
impl StructuralPartialEq for AmountInfo
Auto Trait Implementations§
impl Freeze for AmountInfo
impl RefUnwindSafe for AmountInfo
impl Send for AmountInfo
impl Sync for AmountInfo
impl Unpin for AmountInfo
impl UnwindSafe for AmountInfo
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