pub struct AssetStructuredProduct {Show 13 fields
pub borrow_name: String,
pub nominal: Option<Quotation>,
pub nominal_currency: String,
pub type: i32,
pub logic_portfolio: String,
pub asset_type: i32,
pub basic_asset: String,
pub safety_barrier: Option<Quotation>,
pub maturity_date: Option<Timestamp>,
pub issue_size_plan: Option<Quotation>,
pub issue_size: Option<Quotation>,
pub placement_date: Option<Timestamp>,
pub issue_kind: String,
}
Expand description
Структурная нота.
Fields§
§borrow_name: String
Наименование заемщика.
nominal: Option<Quotation>
Номинал.
nominal_currency: String
Валюта номинала.
type: i32
Тип структурной ноты.
logic_portfolio: String
Стратегия портфеля.
asset_type: i32
Тип базового актива.
basic_asset: String
Вид базового актива в зависимости от типа базового актива.
safety_barrier: Option<Quotation>
Барьер сохранности (в процентах).
maturity_date: Option<Timestamp>
Дата погашения.
issue_size_plan: Option<Quotation>
Объявленное количество шт.
issue_size: Option<Quotation>
Объем размещения.
placement_date: Option<Timestamp>
Дата размещения ноты.
issue_kind: String
Форма выпуска.
Implementations§
source§impl AssetStructuredProduct
impl AssetStructuredProduct
sourcepub fn type(&self) -> StructuredProductType
pub fn type(&self) -> StructuredProductType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: StructuredProductType)
pub fn set_type(&mut self, value: StructuredProductType)
Sets type
to the provided enum value.
sourcepub fn asset_type(&self) -> AssetType
pub fn asset_type(&self) -> AssetType
Returns the enum value of asset_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_asset_type(&mut self, value: AssetType)
pub fn set_asset_type(&mut self, value: AssetType)
Sets asset_type
to the provided enum value.
Trait Implementations§
source§impl Clone for AssetStructuredProduct
impl Clone for AssetStructuredProduct
source§fn clone(&self) -> AssetStructuredProduct
fn clone(&self) -> AssetStructuredProduct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AssetStructuredProduct
impl Debug for AssetStructuredProduct
source§impl Default for AssetStructuredProduct
impl Default for AssetStructuredProduct
source§impl Message for AssetStructuredProduct
impl Message for AssetStructuredProduct
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for AssetStructuredProduct
impl PartialEq for AssetStructuredProduct
source§fn eq(&self, other: &AssetStructuredProduct) -> bool
fn eq(&self, other: &AssetStructuredProduct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetStructuredProduct
Auto Trait Implementations§
impl Freeze for AssetStructuredProduct
impl RefUnwindSafe for AssetStructuredProduct
impl Send for AssetStructuredProduct
impl Sync for AssetStructuredProduct
impl Unpin for AssetStructuredProduct
impl UnwindSafe for AssetStructuredProduct
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
Mutably borrows from an owned value. Read more
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request