pub struct BondEvent {Show 21 fields
pub instrument_id: String,
pub event_number: i32,
pub event_date: Option<Timestamp>,
pub event_type: i32,
pub event_total_vol: Option<Quotation>,
pub fix_date: Option<Timestamp>,
pub rate_date: Option<Timestamp>,
pub default_date: Option<Timestamp>,
pub real_pay_date: Option<Timestamp>,
pub pay_date: Option<Timestamp>,
pub pay_one_bond: Option<MoneyValue>,
pub money_flow_val: Option<MoneyValue>,
pub execution: String,
pub operation_type: String,
pub value: Option<Quotation>,
pub note: String,
pub convert_to_fin_tool_id: String,
pub coupon_start_date: Option<Timestamp>,
pub coupon_end_date: Option<Timestamp>,
pub coupon_period: i32,
pub coupon_interest_rate: Option<Quotation>,
}Fields§
§instrument_id: StringИдентификатор инструмента.
event_number: i32Номер события для данного типа события.
event_date: Option<Timestamp>Дата события.
event_type: i32Тип события.
event_total_vol: Option<Quotation>Полное количество бумаг, задействованных в событии.
fix_date: Option<Timestamp>Дата фиксации владельцев для участия в событии.
rate_date: Option<Timestamp>Дата определения даты или факта события.
default_date: Option<Timestamp>Дата дефолта, если применимо.
real_pay_date: Option<Timestamp>Дата реального исполнения обязательства.
pay_date: Option<Timestamp>Дата выплаты.
pay_one_bond: Option<MoneyValue>Выплата на одну облигацию.
money_flow_val: Option<MoneyValue>Выплаты на все бумаги, задействованные в событии.
execution: StringПризнак исполнения.
operation_type: StringТип операции.
value: Option<Quotation>Стоимость операции — ставка купона, доля номинала, цена выкупа или коэффициент конвертации.
note: StringПримечание.
convert_to_fin_tool_id: StringID выпуска бумаг, в который произведена конвертация (для конвертаций).
coupon_start_date: Option<Timestamp>Начало купонного периода.
coupon_end_date: Option<Timestamp>Окончание купонного периода.
coupon_period: i32Купонный период.
coupon_interest_rate: Option<Quotation>Ставка купона, процентов годовых.
Implementations§
Source§impl BondEvent
impl BondEvent
Sourcepub fn event_type(&self) -> EventType
pub fn event_type(&self) -> EventType
Returns the enum value of event_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_event_type(&mut self, value: EventType)
pub fn set_event_type(&mut self, value: EventType)
Sets event_type to the provided enum value.
Trait Implementations§
impl Eq for BondEvent
Source§impl Message for BondEvent
impl Message for BondEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for BondEvent
Auto Trait Implementations§
impl Freeze for BondEvent
impl RefUnwindSafe for BondEvent
impl Send for BondEvent
impl Sync for BondEvent
impl Unpin for BondEvent
impl UnsafeUnpin for BondEvent
impl UnwindSafe for BondEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].