Struct fix_rs::dictionary::fields::InstrumentLeg
[−]
[src]
pub struct InstrumentLeg { pub meta: Option<Meta>, pub leg_symbol: <<LegSymbol as Field>::Type as FieldType>::Type, pub leg_symbol_sfx: <<LegSymbolSfx as Field>::Type as FieldType>::Type, pub leg_security_id: <<LegSecurityID as Field>::Type as FieldType>::Type, pub leg_security_id_source: <<LegSecurityIDSource as Field>::Type as FieldType>::Type, pub no_leg_security_alt_id: <<NoLegSecurityAltID as Field>::Type as FieldType>::Type, pub leg_product: <<LegProduct as Field>::Type as FieldType>::Type, pub leg_cfi_code: <<LegCFICode as Field>::Type as FieldType>::Type, pub leg_security_type: <<LegSecurityType as Field>::Type as FieldType>::Type, pub leg_security_sub_type: <<LegSecuritySubType as Field>::Type as FieldType>::Type, pub leg_maturity_month_year: <<LegMaturityMonthYear as Field>::Type as FieldType>::Type, pub leg_maturity_date: <<LegMaturityDate as Field>::Type as FieldType>::Type, pub leg_maturity_time: <<LegMaturityTime as Field>::Type as FieldType>::Type, pub leg_coupon_payment_date: <<LegCouponPaymentDate as Field>::Type as FieldType>::Type, pub leg_issue_date: <<LegIssueDate as Field>::Type as FieldType>::Type, pub leg_repo_collateral_security_type: <<LegRepoCollateralSecurityType as Field>::Type as FieldType>::Type, pub leg_repurchase_term: <<LegRepurchaseTerm as Field>::Type as FieldType>::Type, pub leg_repurchase_rate: <<LegRepurchaseRate as Field>::Type as FieldType>::Type, pub leg_factor: <<LegFactor as Field>::Type as FieldType>::Type, pub leg_credit_rating: <<LegCreditRating as Field>::Type as FieldType>::Type, pub leg_instr_registry: <<LegInstrRegistry as Field>::Type as FieldType>::Type, pub leg_country_of_issue: <<LegCountryOfIssue as Field>::Type as FieldType>::Type, pub leg_state_or_province_of_issue: <<LegStateOrProvinceOfIssue as Field>::Type as FieldType>::Type, pub leg_locale_of_issue: <<LegLocaleOfIssue as Field>::Type as FieldType>::Type, pub leg_redemption_date: <<LegRedemptionDate as Field>::Type as FieldType>::Type, pub leg_strike_price: <<LegStrikePrice as Field>::Type as FieldType>::Type, pub leg_strike_currency: <<LegStrikeCurrency as Field>::Type as FieldType>::Type, pub leg_opt_attribute: <<LegOptAttribute as Field>::Type as FieldType>::Type, pub leg_contract_multiplier: <<LegContractMultiplier as Field>::Type as FieldType>::Type, pub leg_contract_multiplier_unit: <<LegContractMultiplierUnit as Field>::Type as FieldType>::Type, pub leg_flow_schedule_type: <<LegFlowScheduleType as Field>::Type as FieldType>::Type, pub leg_unit_of_measure: <<LegUnitOfMeasure as Field>::Type as FieldType>::Type, pub leg_unit_of_measure_qty: <<LegUnitOfMeasureQty as Field>::Type as FieldType>::Type, pub leg_price_unit_of_measure: <<LegPriceUnitOfMeasure as Field>::Type as FieldType>::Type, pub leg_price_unit_of_measure_qty: <<LegPriceUnitOfMeasureQty as Field>::Type as FieldType>::Type, pub leg_time_unit: <<LegTimeUnit as Field>::Type as FieldType>::Type, pub leg_exercise_style: <<LegExerciseStyle as Field>::Type as FieldType>::Type, pub leg_coupon_rate: <<LegCouponRate as Field>::Type as FieldType>::Type, pub leg_security_exchange: <<LegSecurityExchange as Field>::Type as FieldType>::Type, pub leg_issuer: <<LegIssuer as Field>::Type as FieldType>::Type, pub encoded_leg_issuer_len: <<EncodedLegIssuerLen as Field>::Type as FieldType>::Type, pub encoded_leg_issuer: <<EncodedLegIssuer as Field>::Type as FieldType>::Type, pub leg_security_desc: <<LegSecurityDesc as Field>::Type as FieldType>::Type, pub encoded_leg_security_desc_len: <<EncodedLegSecurityDescLen as Field>::Type as FieldType>::Type, pub encoded_leg_security_desc: <<EncodedLegSecurityDesc as Field>::Type as FieldType>::Type, pub leg_ratio_qty: <<LegRatioQty as Field>::Type as FieldType>::Type, pub leg_side: <<LegSide as Field>::Type as FieldType>::Type, pub leg_currency: <<LegCurrency as Field>::Type as FieldType>::Type, pub leg_poll: <<LegPool as Field>::Type as FieldType>::Type, pub leg_dated_date: <<LegDatedDate as Field>::Type as FieldType>::Type, pub leg_contract_settl_month: <<LegContractSettlMonth as Field>::Type as FieldType>::Type, pub leg_interest_accrual_date: <<LegInterestAccrualDate as Field>::Type as FieldType>::Type, pub leg_put_or_call: <<LegPutOrCall as Field>::Type as FieldType>::Type, pub leg_option_ratio: <<LegOptionRatio as Field>::Type as FieldType>::Type, pub leg_price: <<LegPrice as Field>::Type as FieldType>::Type, // some fields omitted }
Fields
meta: Option<Meta>
leg_symbol: <<LegSymbol as Field>::Type as FieldType>::Type
leg_symbol_sfx: <<LegSymbolSfx as Field>::Type as FieldType>::Type
leg_security_id: <<LegSecurityID as Field>::Type as FieldType>::Type
leg_security_id_source: <<LegSecurityIDSource as Field>::Type as FieldType>::Type
no_leg_security_alt_id: <<NoLegSecurityAltID as Field>::Type as FieldType>::Type
leg_product: <<LegProduct as Field>::Type as FieldType>::Type
leg_cfi_code: <<LegCFICode as Field>::Type as FieldType>::Type
leg_security_type: <<LegSecurityType as Field>::Type as FieldType>::Type
leg_security_sub_type: <<LegSecuritySubType as Field>::Type as FieldType>::Type
leg_maturity_month_year: <<LegMaturityMonthYear as Field>::Type as FieldType>::Type
leg_maturity_date: <<LegMaturityDate as Field>::Type as FieldType>::Type
leg_maturity_time: <<LegMaturityTime as Field>::Type as FieldType>::Type
leg_coupon_payment_date: <<LegCouponPaymentDate as Field>::Type as FieldType>::Type
leg_issue_date: <<LegIssueDate as Field>::Type as FieldType>::Type
leg_repo_collateral_security_type: <<LegRepoCollateralSecurityType as Field>::Type as FieldType>::Type
leg_repurchase_term: <<LegRepurchaseTerm as Field>::Type as FieldType>::Type
leg_repurchase_rate: <<LegRepurchaseRate as Field>::Type as FieldType>::Type
leg_factor: <<LegFactor as Field>::Type as FieldType>::Type
leg_credit_rating: <<LegCreditRating as Field>::Type as FieldType>::Type
leg_instr_registry: <<LegInstrRegistry as Field>::Type as FieldType>::Type
leg_country_of_issue: <<LegCountryOfIssue as Field>::Type as FieldType>::Type
leg_state_or_province_of_issue: <<LegStateOrProvinceOfIssue as Field>::Type as FieldType>::Type
leg_locale_of_issue: <<LegLocaleOfIssue as Field>::Type as FieldType>::Type
leg_redemption_date: <<LegRedemptionDate as Field>::Type as FieldType>::Type
leg_strike_price: <<LegStrikePrice as Field>::Type as FieldType>::Type
leg_strike_currency: <<LegStrikeCurrency as Field>::Type as FieldType>::Type
leg_opt_attribute: <<LegOptAttribute as Field>::Type as FieldType>::Type
leg_contract_multiplier: <<LegContractMultiplier as Field>::Type as FieldType>::Type
leg_contract_multiplier_unit: <<LegContractMultiplierUnit as Field>::Type as FieldType>::Type
leg_flow_schedule_type: <<LegFlowScheduleType as Field>::Type as FieldType>::Type
leg_unit_of_measure: <<LegUnitOfMeasure as Field>::Type as FieldType>::Type
leg_unit_of_measure_qty: <<LegUnitOfMeasureQty as Field>::Type as FieldType>::Type
leg_price_unit_of_measure: <<LegPriceUnitOfMeasure as Field>::Type as FieldType>::Type
leg_price_unit_of_measure_qty: <<LegPriceUnitOfMeasureQty as Field>::Type as FieldType>::Type
leg_time_unit: <<LegTimeUnit as Field>::Type as FieldType>::Type
leg_exercise_style: <<LegExerciseStyle as Field>::Type as FieldType>::Type
leg_coupon_rate: <<LegCouponRate as Field>::Type as FieldType>::Type
leg_security_exchange: <<LegSecurityExchange as Field>::Type as FieldType>::Type
leg_issuer: <<LegIssuer as Field>::Type as FieldType>::Type
encoded_leg_issuer_len: <<EncodedLegIssuerLen as Field>::Type as FieldType>::Type
encoded_leg_issuer: <<EncodedLegIssuer as Field>::Type as FieldType>::Type
leg_security_desc: <<LegSecurityDesc as Field>::Type as FieldType>::Type
encoded_leg_security_desc_len: <<EncodedLegSecurityDescLen as Field>::Type as FieldType>::Type
encoded_leg_security_desc: <<EncodedLegSecurityDesc as Field>::Type as FieldType>::Type
leg_ratio_qty: <<LegRatioQty as Field>::Type as FieldType>::Type
leg_side: <<LegSide as Field>::Type as FieldType>::Type
leg_currency: <<LegCurrency as Field>::Type as FieldType>::Type
leg_poll: <<LegPool as Field>::Type as FieldType>::Type
leg_dated_date: <<LegDatedDate as Field>::Type as FieldType>::Type
leg_contract_settl_month: <<LegContractSettlMonth as Field>::Type as FieldType>::Type
leg_interest_accrual_date: <<LegInterestAccrualDate as Field>::Type as FieldType>::Type
leg_put_or_call: <<LegPutOrCall as Field>::Type as FieldType>::Type
leg_option_ratio: <<LegOptionRatio as Field>::Type as FieldType>::Type
leg_price: <<LegPrice as Field>::Type as FieldType>::Type
Methods
impl InstrumentLeg
[src]
fn new() -> InstrumentLeg
Trait Implementations
impl MessageBuildable for InstrumentLeg
[src]
fn builder(&self) -> Box<BuildMessage + Send>
fn builder_func(&self) -> fn() -> Box<BuildMessage + Send>
impl Clone for InstrumentLeg
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for InstrumentLeg
[src]
impl MessageDetails for InstrumentLeg
[src]
fn msg_type() -> &'static [u8]
impl Message for InstrumentLeg
[src]
fn conditional_required_fields(&self, version: MessageVersion) -> Vec<FieldTag>
fn meta(&self) -> &Option<Meta>
fn set_meta(&mut self, meta: Meta)
fn set_value(
&mut self,
key: FieldTag,
value: &[u8]
) -> Result<(), SetValueError>
&mut self,
key: FieldTag,
value: &[u8]
) -> Result<(), SetValueError>
fn set_groups(&mut self, key: FieldTag, groups: &[Box<Message>]) -> bool
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
fn new_into_box(&self) -> Box<Message + Send>
fn msg_type_header(&self) -> &'static [u8]
fn read_body(
&self,
fix_version: FIXVersion,
message_version: MessageVersion,
buf: &mut Vec<u8>
) -> usize
&self,
fix_version: FIXVersion,
message_version: MessageVersion,
buf: &mut Vec<u8>
) -> usize
fn read(
&self,
fix_version: FIXVersion,
message_version: MessageVersion,
buf: &mut Vec<u8>
) -> usize
&self,
fix_version: FIXVersion,
message_version: MessageVersion,
buf: &mut Vec<u8>
) -> usize