pub enum Ext {
Share(AssetShare),
Bond(AssetBond),
Sp(AssetStructuredProduct),
Etf(AssetEtf),
ClearingCertificate(AssetClearingCertificate),
}Variants§
Акция. Заполняется только для акций — тип актива asset.type = ASSET_TYPE_SECURITY и security.type = share.
Bond(AssetBond)
Облигация. Заполняется только для облигаций — тип актива asset.type = ASSET_TYPE_SECURITY и security.type = bond.
Sp(AssetStructuredProduct)
Структурная нота. Заполняется только для структурных продуктов — тип актива asset.type = ASSET_TYPE_SECURITY и security.type = sp.
Etf(AssetEtf)
Фонд. Заполняется только для фондов — тип актива asset.type = ASSET_TYPE_SECURITY и security.type = etf.
ClearingCertificate(AssetClearingCertificate)
Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов — тип актива asset.type = ASSET_TYPE_SECURITY и security.type = clearing_certificate.
Implementations§
Source§impl Ext
impl Ext
Sourcepub fn merge(
field: &mut Option<Ext>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Ext>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl StructuralPartialEq for Ext
Auto Trait Implementations§
impl Freeze for Ext
impl RefUnwindSafe for Ext
impl Send for Ext
impl Sync for Ext
impl Unpin for Ext
impl UnsafeUnpin for Ext
impl UnwindSafe for Ext
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<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].