Struct plaid::holdings::Security[][src]

pub struct Security {
    pub security_id: String,
    pub isin: Option<String>,
    pub cusip: Option<String>,
    pub sedol: Option<String>,
    pub institution_security_id: Option<String>,
    pub institution_id: Option<String>,
    pub proxy_security_id: Option<String>,
    pub name: Option<String>,
    pub ticker_symbol: Option<String>,
    pub is_cash_equivalent: bool,
    pub type: Option<String>,
    pub close_price: Option<f64>,
    pub close_price_as_of: Option<NaiveDate>,
    pub iso_currency_code: Option<String>,
    pub unofficial_currency_code: Option<String>,
}

Fields

security_id: String

A unique, Plaid-specific identifier for the security, used to associate securities with holdings. Like all Plaid identifiers, the security_id is case sensitive.

isin: Option<String>

12-character ISIN, a globally unique securities identifier.

cusip: Option<String>

9-character CUSIP, an identifier assigned to North American securities.

sedol: Option<String>

7-character SEDOL, an identifier assigned to securities in the UK.

institution_security_id: Option<String>

An identifier given to the security by the institution

institution_id: Option<String>

If institution_security_id is present, this field indicates the Plaid institution_id of the institution to whom the identifier belongs.

proxy_security_id: Option<String>

In certain cases, Plaid will provide the ID of another security whose performance resembles this security, typically when the original security has low volume, or when a private security can be modeled with a publicly traded security.

name: Option<String>

A descriptive name for the security, suitable for display.

ticker_symbol: Option<String>

The security’s trading symbol for publicly traded securities, and otherwise a short identifier if available.

is_cash_equivalent: bool

Indicates that a security is a highly liquid asset and can be treated like cash.

type: Option<String>

The security type of the holding.

close_price: Option<f64>

Price of the security at the close of the previous trading session. null for non-public securities.

close_price_as_of: Option<NaiveDate>

Date for which close_price is accurate. Always null if close_price is null.

iso_currency_code: Option<String>

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

unofficial_currency_code: Option<String>

The unofficial currency code associated with the security.

Trait Implementations

impl Clone for Security[src]

impl Debug for Security[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Security[src]

impl Send for Security[src]

impl Sync for Security[src]

impl Unpin for Security[src]

impl UnwindSafe for Security[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.