Struct tinkoff_invest_types::AssetShare
source · [−]pub struct AssetShare {Show 15 fields
pub type: i32,
pub issue_size: Option<Quotation>,
pub nominal: Option<Quotation>,
pub nominal_currency: String,
pub primary_index: String,
pub dividend_rate: Option<Quotation>,
pub preferred_share_type: String,
pub ipo_date: Option<Timestamp>,
pub registry_date: Option<Timestamp>,
pub div_yield_flag: bool,
pub issue_kind: String,
pub placement_date: Option<Timestamp>,
pub repres_isin: String,
pub issue_size_plan: Option<Quotation>,
pub total_float: Option<Quotation>,
}
Expand description
Акция.
Fields
type: i32
Тип акции.
issue_size: Option<Quotation>
Объем выпуска (шт.).
nominal: Option<Quotation>
Номинал.
nominal_currency: String
Валюта номинала.
primary_index: String
Индекс (Bloomberg).
dividend_rate: Option<Quotation>
Ставка дивиденда (для привилегированных акций).
Тип привилегированных акций.
ipo_date: Option<Timestamp>
Дата IPO.
registry_date: Option<Timestamp>
Дата регистрации.
div_yield_flag: bool
Признак наличия дивидендной доходности.
issue_kind: String
Форма выпуска ФИ.
placement_date: Option<Timestamp>
Дата размещения акции.
repres_isin: String
ISIN базового актива.
issue_size_plan: Option<Quotation>
Объявленное количество шт.
total_float: Option<Quotation>
Количество акций в свободном обращении.
Implementations
Trait Implementations
sourcefn clone(&self) -> AssetShare
fn clone(&self) -> AssetShare
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>
fn encode_to_vec(&self) -> Vec<u8, Global>
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self
. Read more
sourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
sourcefn eq(&self, other: &AssetShare) -> bool
fn eq(&self, other: &AssetShare) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
fn vzip(self) -> V
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more