Struct plaid::model::TransactionStreamAmount
source · pub struct TransactionStreamAmount {
pub amount: Option<f64>,
pub iso_currency_code: Option<String>,
pub unofficial_currency_code: Option<String>,
}
Expand description
Object with data pertaining to an amount on the transaction stream.
Fields§
§amount: Option<f64>
Represents the numerical value of an amount.
iso_currency_code: Option<String>
The ISO-4217 currency code of the amount. Always null
if unofficial_currency_code
is non-null
.
See the currency code schema for a full listing of supported iso_currency_code
s.
unofficial_currency_code: Option<String>
The unofficial currency code of the amount. Always null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
Trait Implementations§
source§impl Clone for TransactionStreamAmount
impl Clone for TransactionStreamAmount
source§fn clone(&self) -> TransactionStreamAmount
fn clone(&self) -> TransactionStreamAmount
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 Debug for TransactionStreamAmount
impl Debug for TransactionStreamAmount
source§impl Default for TransactionStreamAmount
impl Default for TransactionStreamAmount
source§fn default() -> TransactionStreamAmount
fn default() -> TransactionStreamAmount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransactionStreamAmount
impl<'de> Deserialize<'de> for TransactionStreamAmount
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 Display for TransactionStreamAmount
impl Display for TransactionStreamAmount
Auto Trait Implementations§
impl RefUnwindSafe for TransactionStreamAmount
impl Send for TransactionStreamAmount
impl Sync for TransactionStreamAmount
impl Unpin for TransactionStreamAmount
impl UnwindSafe for TransactionStreamAmount
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