Struct plaid::holdings::Holding[][src]

pub struct Holding {
    pub account_id: String,
    pub security_id: String,
    pub institution_price: f64,
    pub institution_price_as_of: Option<NaiveDate>,
    pub institution_value: f64,
    pub cost_basis: Option<f64>,
    pub quantity: f64,
    pub iso_currency_code: Option<String>,
    pub unofficial_currency_code: Option<String>,
}

Fields

account_id: String

The Plaid account_id associated with the holding.

security_id: String

The Plaid security_id associated with the holding.

institution_price: f64

The last price given by the institution for this security.

institution_price_as_of: Option<NaiveDate>

The date at which institution_price was current.

institution_value: f64

The value of the holding, as reported by the institution.

cost_basis: Option<f64>

The cost basis of the holding.

quantity: f64

The total quantity of the asset held, as reported by the financial institution.

iso_currency_code: Option<String>

The ISO-4217 currency code of the holding. Always null if unofficial_currency_code is non-null.

unofficial_currency_code: Option<String>

The unofficial currency code associated with the holding.

Trait Implementations

impl Clone for Holding[src]

impl Debug for Holding[src]

impl<'de> Deserialize<'de> for Holding[src]

Auto Trait Implementations

impl RefUnwindSafe for Holding[src]

impl Send for Holding[src]

impl Sync for Holding[src]

impl Unpin for Holding[src]

impl UnwindSafe for Holding[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.