#[repr(i32)]pub enum FieldProto {
Show 27 variants
UnknownField = 0,
Id = 1,
EffectiveDate = 10,
Strategy = 11,
Security = 12,
SecurityDescription = 61,
CashImpactSecurity = 13,
AssetClass = 50,
ProductClass = 51,
ProductType = 52,
SecurityId = 53,
Identifier = 54,
Tenor = 55,
MaturityDate = 56,
AdjustedTenor = 57,
Portfolio = 14,
PortfolioId = 15,
PortfolioName = 60,
Price = 16,
PriceId = 17,
IsCancelled = 18,
PositionStatus = 19,
TradeDate = 30,
SettlementDate = 31,
TransactionType = 32,
TaxLotOpenDate = 40,
TaxLotCloseDate = 41,
}Variants§
UnknownField = 0
Id = 1
(UUID.class)
EffectiveDate = 10
Attribute fields. Likely to be fields that one would pivot on.
LocalDate.class
Strategy = 11
common.model.strategy.Strategy.class
Security = 12
common.model.security.Security.class
SecurityDescription = 61
CashImpactSecurity = 13
common.model.security.Security.class
AssetClass = 50
Security Fields
AssetClass(String.class), //FixedIncome, Equity, etc
ProductClass = 51
ProductClass(String.class), //Bond, CashEquity, etc
ProductType = 52
ProductType (String.class), //TBILL, BOND, etc
SecurityId = 53
Identifier = 54
Tenor = 55
1M
MaturityDate = 56
AdjustedTenor = 57
Portfolio = 14
Portfolio fields
common.model.portfolio.Portfolio.class
PortfolioId = 15
UUID
PortfolioName = 60
Price = 16
common.model.price.Price.class
PriceId = 17
UUID
IsCancelled = 18
Boolean.class
PositionStatus = 19
PositionStatus.class
TradeDate = 30
Transaction only
TradeDate(LocalDate.class),
SettlementDate = 31
SettlementDate(LocalDate.class),
TransactionType = 32
BUY, SELL, MATURATION, etc (TransactionType.class)
TaxLotOpenDate = 40
Tax Lot only
TaxLotOpenDate(LocalDate.class),
TaxLotCloseDate = 41
TaxLotCloseDate(LocalDate.class),
Implementations§
Source§impl FieldProto
impl FieldProto
Source§impl FieldProto
impl FieldProto
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for FieldProto
impl Clone for FieldProto
Source§fn clone(&self) -> FieldProto
fn clone(&self) -> FieldProto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FieldProto
impl Debug for FieldProto
Source§impl Default for FieldProto
impl Default for FieldProto
Source§fn default() -> FieldProto
fn default() -> FieldProto
Source§impl From<FieldProto> for i32
impl From<FieldProto> for i32
Source§fn from(value: FieldProto) -> i32
fn from(value: FieldProto) -> i32
Source§impl Hash for FieldProto
impl Hash for FieldProto
Source§impl Ord for FieldProto
impl Ord for FieldProto
Source§fn cmp(&self, other: &FieldProto) -> Ordering
fn cmp(&self, other: &FieldProto) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FieldProto
impl PartialEq for FieldProto
Source§impl PartialOrd for FieldProto
impl PartialOrd for FieldProto
impl Copy for FieldProto
impl Eq for FieldProto
impl StructuralPartialEq for FieldProto
Auto Trait Implementations§
impl Freeze for FieldProto
impl RefUnwindSafe for FieldProto
impl Send for FieldProto
impl Sync for FieldProto
impl Unpin for FieldProto
impl UnwindSafe for FieldProto
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request