#[non_exhaustive]pub struct SecurityMapping {
pub figi: String,
pub ticker: Option<String>,
pub name: Option<String>,
pub exchange_code: Option<String>,
pub composite_figi: Option<String>,
pub share_class_figi: Option<String>,
pub security_type: Option<String>,
pub market_sector: Option<String>,
}Expand description
One instrument matching a security identifier.
A single CUSIP or ISIN maps to many instruments — one per venue the
security trades on — which is why resolution returns a list. Entries that
share a composite_figi are the same security on different venues; the
share_class_figi groups share classes across countries.
Obtain via openfigi::resolve_cusip and
friends.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.figi: StringThe instrument’s Financial Instrument Global Identifier.
ticker: Option<String>Ticker symbol, as the venue lists it.
name: Option<String>Security name (usually the issuer).
exchange_code: Option<String>Exchange code — "US" for the composite, otherwise a venue code.
composite_figi: Option<String>FIGI of the country-level composite this instrument rolls up to.
FIGI shared by every listing of this share class worldwide.
security_type: Option<String>Instrument type, e.g. "Common Stock", "ETP".
market_sector: Option<String>Market sector, e.g. "Equity", "Corp", "Govt".
Trait Implementations§
Source§impl Clone for SecurityMapping
impl Clone for SecurityMapping
Source§fn clone(&self) -> SecurityMapping
fn clone(&self) -> SecurityMapping
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SecurityMapping
impl Debug for SecurityMapping
Source§impl<'de> Deserialize<'de> for SecurityMapping
impl<'de> Deserialize<'de> for SecurityMapping
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>,
impl Eq for SecurityMapping
Source§impl PartialEq for SecurityMapping
impl PartialEq for SecurityMapping
Source§impl Serialize for SecurityMapping
impl Serialize for SecurityMapping
impl StructuralPartialEq for SecurityMapping
Auto Trait Implementations§
impl Freeze for SecurityMapping
impl RefUnwindSafe for SecurityMapping
impl Send for SecurityMapping
impl Sync for SecurityMapping
impl Unpin for SecurityMapping
impl UnsafeUnpin for SecurityMapping
impl UnwindSafe for SecurityMapping
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more