pub struct CollateralAssignment(pub Message);Expand description
CollateralAssignment (35=AY).
Tuple Fields§
§0: MessageImplementations§
Source§impl CollateralAssignment
impl CollateralAssignment
pub const MSG_TYPE: &'static str = "AY"
pub fn new( coll_asgn_id: impl Into<String>, coll_asgn_reason: i64, coll_asgn_trans_type: i64, transact_time: UtcTimestamp, ) -> Self
Sourcepub fn from_message(msg: Message) -> Result<Self, Message>
pub fn from_message(msg: Message) -> Result<Self, Message>
Wrap a generic message; fails unless 35=“AY”.
pub fn coll_asgn_id(&self) -> Result<String, ConversionError>
pub fn set_coll_asgn_id(&mut self, v: impl Into<String>)
pub fn has_coll_asgn_id(&self) -> bool
pub fn coll_req_id(&self) -> Result<String, ConversionError>
pub fn set_coll_req_id(&mut self, v: impl Into<String>)
pub fn has_coll_req_id(&self) -> bool
pub fn coll_asgn_reason(&self) -> Result<i64, ConversionError>
pub fn set_coll_asgn_reason(&mut self, v: i64)
pub fn has_coll_asgn_reason(&self) -> bool
pub fn coll_asgn_trans_type(&self) -> Result<i64, ConversionError>
pub fn set_coll_asgn_trans_type(&mut self, v: i64)
pub fn has_coll_asgn_trans_type(&self) -> bool
pub fn coll_asgn_ref_id(&self) -> Result<String, ConversionError>
pub fn set_coll_asgn_ref_id(&mut self, v: impl Into<String>)
pub fn has_coll_asgn_ref_id(&self) -> bool
pub fn transact_time(&self) -> Result<UtcTimestamp, ConversionError>
pub fn set_transact_time(&mut self, v: UtcTimestamp)
pub fn has_transact_time(&self) -> bool
pub fn expire_time(&self) -> Result<UtcTimestamp, ConversionError>
pub fn set_expire_time(&mut self, v: UtcTimestamp)
pub fn has_expire_time(&self) -> bool
pub fn no_party_ids(&self) -> Result<Vec<NoPartyIDs>, ConversionError>
pub fn set_no_party_ids(&mut self, groups: impl IntoIterator<Item = NoPartyIDs>)
pub fn account(&self) -> Result<String, ConversionError>
pub fn set_account(&mut self, v: impl Into<String>)
pub fn has_account(&self) -> bool
pub fn account_type(&self) -> Result<i64, ConversionError>
pub fn set_account_type(&mut self, v: i64)
pub fn has_account_type(&self) -> bool
pub fn cl_ord_id(&self) -> Result<String, ConversionError>
pub fn set_cl_ord_id(&mut self, v: impl Into<String>)
pub fn has_cl_ord_id(&self) -> bool
pub fn order_id(&self) -> Result<String, ConversionError>
pub fn set_order_id(&mut self, v: impl Into<String>)
pub fn has_order_id(&self) -> bool
pub fn secondary_order_id(&self) -> Result<String, ConversionError>
pub fn set_secondary_order_id(&mut self, v: impl Into<String>)
pub fn has_secondary_order_id(&self) -> bool
pub fn secondary_cl_ord_id(&self) -> Result<String, ConversionError>
pub fn set_secondary_cl_ord_id(&mut self, v: impl Into<String>)
pub fn has_secondary_cl_ord_id(&self) -> bool
pub fn no_execs(&self) -> Result<Vec<NoExecs>, ConversionError>
pub fn set_no_execs(&mut self, groups: impl IntoIterator<Item = NoExecs>)
pub fn no_trades(&self) -> Result<Vec<NoTrades>, ConversionError>
pub fn set_no_trades(&mut self, groups: impl IntoIterator<Item = NoTrades>)
pub fn symbol(&self) -> Result<String, ConversionError>
pub fn set_symbol(&mut self, v: impl Into<String>)
pub fn has_symbol(&self) -> bool
pub fn symbol_sfx(&self) -> Result<String, ConversionError>
pub fn set_symbol_sfx(&mut self, v: impl Into<String>)
pub fn has_symbol_sfx(&self) -> bool
pub fn security_id(&self) -> Result<String, ConversionError>
pub fn set_security_id(&mut self, v: impl Into<String>)
pub fn has_security_id(&self) -> bool
pub fn security_id_source(&self) -> Result<String, ConversionError>
pub fn set_security_id_source(&mut self, v: impl Into<String>)
pub fn has_security_id_source(&self) -> bool
pub fn no_security_alt_id( &self, ) -> Result<Vec<NoSecurityAltID>, ConversionError>
pub fn set_no_security_alt_id( &mut self, groups: impl IntoIterator<Item = NoSecurityAltID>, )
pub fn product(&self) -> Result<i64, ConversionError>
pub fn set_product(&mut self, v: i64)
pub fn has_product(&self) -> bool
pub fn cfi_code(&self) -> Result<String, ConversionError>
pub fn set_cfi_code(&mut self, v: impl Into<String>)
pub fn has_cfi_code(&self) -> bool
pub fn security_type(&self) -> Result<String, ConversionError>
pub fn set_security_type(&mut self, v: impl Into<String>)
pub fn has_security_type(&self) -> bool
pub fn security_sub_type(&self) -> Result<String, ConversionError>
pub fn set_security_sub_type(&mut self, v: impl Into<String>)
pub fn has_security_sub_type(&self) -> bool
pub fn maturity_month_year(&self) -> Result<String, ConversionError>
pub fn set_maturity_month_year(&mut self, v: impl Into<String>)
pub fn has_maturity_month_year(&self) -> bool
pub fn maturity_date(&self) -> Result<FixDate, ConversionError>
pub fn set_maturity_date(&mut self, v: FixDate)
pub fn has_maturity_date(&self) -> bool
pub fn coupon_payment_date(&self) -> Result<FixDate, ConversionError>
pub fn set_coupon_payment_date(&mut self, v: FixDate)
pub fn has_coupon_payment_date(&self) -> bool
pub fn issue_date(&self) -> Result<FixDate, ConversionError>
pub fn set_issue_date(&mut self, v: FixDate)
pub fn has_issue_date(&self) -> bool
pub fn repo_collateral_security_type(&self) -> Result<i64, ConversionError>
pub fn set_repo_collateral_security_type(&mut self, v: i64)
pub fn has_repo_collateral_security_type(&self) -> bool
pub fn repurchase_term(&self) -> Result<i64, ConversionError>
pub fn set_repurchase_term(&mut self, v: i64)
pub fn has_repurchase_term(&self) -> bool
pub fn repurchase_rate(&self) -> Result<Amount, ConversionError>
pub fn set_repurchase_rate(&mut self, v: Amount)
pub fn has_repurchase_rate(&self) -> bool
pub fn factor(&self) -> Result<Amount, ConversionError>
pub fn set_factor(&mut self, v: Amount)
pub fn has_factor(&self) -> bool
pub fn credit_rating(&self) -> Result<String, ConversionError>
pub fn set_credit_rating(&mut self, v: impl Into<String>)
pub fn has_credit_rating(&self) -> bool
pub fn instr_registry(&self) -> Result<String, ConversionError>
pub fn set_instr_registry(&mut self, v: impl Into<String>)
pub fn has_instr_registry(&self) -> bool
pub fn country_of_issue(&self) -> Result<String, ConversionError>
pub fn set_country_of_issue(&mut self, v: impl Into<String>)
pub fn has_country_of_issue(&self) -> bool
pub fn state_or_province_of_issue(&self) -> Result<String, ConversionError>
pub fn set_state_or_province_of_issue(&mut self, v: impl Into<String>)
pub fn has_state_or_province_of_issue(&self) -> bool
pub fn locale_of_issue(&self) -> Result<String, ConversionError>
pub fn set_locale_of_issue(&mut self, v: impl Into<String>)
pub fn has_locale_of_issue(&self) -> bool
pub fn redemption_date(&self) -> Result<FixDate, ConversionError>
pub fn set_redemption_date(&mut self, v: FixDate)
pub fn has_redemption_date(&self) -> bool
pub fn strike_price(&self) -> Result<Amount, ConversionError>
pub fn set_strike_price(&mut self, v: Amount)
pub fn has_strike_price(&self) -> bool
pub fn strike_currency(&self) -> Result<String, ConversionError>
pub fn set_strike_currency(&mut self, v: impl Into<String>)
pub fn has_strike_currency(&self) -> bool
pub fn opt_attribute(&self) -> Result<char, ConversionError>
pub fn set_opt_attribute(&mut self, v: char)
pub fn has_opt_attribute(&self) -> bool
pub fn contract_multiplier(&self) -> Result<Amount, ConversionError>
pub fn set_contract_multiplier(&mut self, v: Amount)
pub fn has_contract_multiplier(&self) -> bool
pub fn coupon_rate(&self) -> Result<Amount, ConversionError>
pub fn set_coupon_rate(&mut self, v: Amount)
pub fn has_coupon_rate(&self) -> bool
pub fn security_exchange(&self) -> Result<String, ConversionError>
pub fn set_security_exchange(&mut self, v: impl Into<String>)
pub fn has_security_exchange(&self) -> bool
pub fn issuer(&self) -> Result<String, ConversionError>
pub fn set_issuer(&mut self, v: impl Into<String>)
pub fn has_issuer(&self) -> bool
pub fn encoded_issuer_len(&self) -> Result<i64, ConversionError>
pub fn set_encoded_issuer_len(&mut self, v: i64)
pub fn has_encoded_issuer_len(&self) -> bool
pub fn encoded_issuer(&self) -> Result<Vec<u8>, ConversionError>
pub fn set_encoded_issuer(&mut self, v: impl Into<Vec<u8>>)
pub fn has_encoded_issuer(&self) -> bool
pub fn security_desc(&self) -> Result<String, ConversionError>
pub fn set_security_desc(&mut self, v: impl Into<String>)
pub fn has_security_desc(&self) -> bool
pub fn encoded_security_desc_len(&self) -> Result<i64, ConversionError>
pub fn set_encoded_security_desc_len(&mut self, v: i64)
pub fn has_encoded_security_desc_len(&self) -> bool
pub fn encoded_security_desc(&self) -> Result<Vec<u8>, ConversionError>
pub fn set_encoded_security_desc(&mut self, v: impl Into<Vec<u8>>)
pub fn has_encoded_security_desc(&self) -> bool
pub fn pool(&self) -> Result<String, ConversionError>
pub fn set_pool(&mut self, v: impl Into<String>)
pub fn has_pool(&self) -> bool
pub fn contract_settl_month(&self) -> Result<String, ConversionError>
pub fn set_contract_settl_month(&mut self, v: impl Into<String>)
pub fn has_contract_settl_month(&self) -> bool
pub fn cp_program(&self) -> Result<i64, ConversionError>
pub fn set_cp_program(&mut self, v: i64)
pub fn has_cp_program(&self) -> bool
pub fn cp_reg_type(&self) -> Result<String, ConversionError>
pub fn set_cp_reg_type(&mut self, v: impl Into<String>)
pub fn has_cp_reg_type(&self) -> bool
pub fn no_events(&self) -> Result<Vec<NoEvents>, ConversionError>
pub fn set_no_events(&mut self, groups: impl IntoIterator<Item = NoEvents>)
pub fn dated_date(&self) -> Result<FixDate, ConversionError>
pub fn set_dated_date(&mut self, v: FixDate)
pub fn has_dated_date(&self) -> bool
pub fn interest_accrual_date(&self) -> Result<FixDate, ConversionError>
pub fn set_interest_accrual_date(&mut self, v: FixDate)
pub fn has_interest_accrual_date(&self) -> bool
pub fn agreement_desc(&self) -> Result<String, ConversionError>
pub fn set_agreement_desc(&mut self, v: impl Into<String>)
pub fn has_agreement_desc(&self) -> bool
pub fn agreement_id(&self) -> Result<String, ConversionError>
pub fn set_agreement_id(&mut self, v: impl Into<String>)
pub fn has_agreement_id(&self) -> bool
pub fn agreement_date(&self) -> Result<FixDate, ConversionError>
pub fn set_agreement_date(&mut self, v: FixDate)
pub fn has_agreement_date(&self) -> bool
pub fn agreement_currency(&self) -> Result<String, ConversionError>
pub fn set_agreement_currency(&mut self, v: impl Into<String>)
pub fn has_agreement_currency(&self) -> bool
pub fn termination_type(&self) -> Result<i64, ConversionError>
pub fn set_termination_type(&mut self, v: i64)
pub fn has_termination_type(&self) -> bool
pub fn start_date(&self) -> Result<FixDate, ConversionError>
pub fn set_start_date(&mut self, v: FixDate)
pub fn has_start_date(&self) -> bool
pub fn end_date(&self) -> Result<FixDate, ConversionError>
pub fn set_end_date(&mut self, v: FixDate)
pub fn has_end_date(&self) -> bool
pub fn delivery_type(&self) -> Result<i64, ConversionError>
pub fn set_delivery_type(&mut self, v: i64)
pub fn has_delivery_type(&self) -> bool
pub fn margin_ratio(&self) -> Result<Amount, ConversionError>
pub fn set_margin_ratio(&mut self, v: Amount)
pub fn has_margin_ratio(&self) -> bool
pub fn settl_date(&self) -> Result<FixDate, ConversionError>
pub fn set_settl_date(&mut self, v: FixDate)
pub fn has_settl_date(&self) -> bool
pub fn quantity(&self) -> Result<Amount, ConversionError>
pub fn set_quantity(&mut self, v: Amount)
pub fn has_quantity(&self) -> bool
pub fn qty_type(&self) -> Result<i64, ConversionError>
pub fn set_qty_type(&mut self, v: i64)
pub fn has_qty_type(&self) -> bool
pub fn currency(&self) -> Result<String, ConversionError>
pub fn set_currency(&mut self, v: impl Into<String>)
pub fn has_currency(&self) -> bool
pub fn no_legs(&self) -> Result<Vec<NoLegs>, ConversionError>
pub fn set_no_legs(&mut self, groups: impl IntoIterator<Item = NoLegs>)
pub fn no_underlyings(&self) -> Result<Vec<NoUnderlyings>, ConversionError>
pub fn set_no_underlyings( &mut self, groups: impl IntoIterator<Item = NoUnderlyings>, )
pub fn margin_excess(&self) -> Result<Amount, ConversionError>
pub fn set_margin_excess(&mut self, v: Amount)
pub fn has_margin_excess(&self) -> bool
pub fn total_net_value(&self) -> Result<Amount, ConversionError>
pub fn set_total_net_value(&mut self, v: Amount)
pub fn has_total_net_value(&self) -> bool
pub fn cash_outstanding(&self) -> Result<Amount, ConversionError>
pub fn set_cash_outstanding(&mut self, v: Amount)
pub fn has_cash_outstanding(&self) -> bool
pub fn no_trd_reg_timestamps( &self, ) -> Result<Vec<NoTrdRegTimestamps>, ConversionError>
pub fn set_no_trd_reg_timestamps( &mut self, groups: impl IntoIterator<Item = NoTrdRegTimestamps>, )
pub fn side(&self) -> Result<char, ConversionError>
pub fn set_side(&mut self, v: char)
pub fn has_side(&self) -> bool
pub fn no_misc_fees(&self) -> Result<Vec<NoMiscFees>, ConversionError>
pub fn set_no_misc_fees(&mut self, groups: impl IntoIterator<Item = NoMiscFees>)
pub fn price(&self) -> Result<Amount, ConversionError>
pub fn set_price(&mut self, v: Amount)
pub fn has_price(&self) -> bool
pub fn price_type(&self) -> Result<i64, ConversionError>
pub fn set_price_type(&mut self, v: i64)
pub fn has_price_type(&self) -> bool
pub fn accrued_interest_amt(&self) -> Result<Amount, ConversionError>
pub fn set_accrued_interest_amt(&mut self, v: Amount)
pub fn has_accrued_interest_amt(&self) -> bool
pub fn end_accrued_interest_amt(&self) -> Result<Amount, ConversionError>
pub fn set_end_accrued_interest_amt(&mut self, v: Amount)
pub fn has_end_accrued_interest_amt(&self) -> bool
pub fn start_cash(&self) -> Result<Amount, ConversionError>
pub fn set_start_cash(&mut self, v: Amount)
pub fn has_start_cash(&self) -> bool
pub fn end_cash(&self) -> Result<Amount, ConversionError>
pub fn set_end_cash(&mut self, v: Amount)
pub fn has_end_cash(&self) -> bool
pub fn spread(&self) -> Result<Amount, ConversionError>
pub fn set_spread(&mut self, v: Amount)
pub fn has_spread(&self) -> bool
pub fn benchmark_curve_currency(&self) -> Result<String, ConversionError>
pub fn set_benchmark_curve_currency(&mut self, v: impl Into<String>)
pub fn has_benchmark_curve_currency(&self) -> bool
pub fn benchmark_curve_name(&self) -> Result<String, ConversionError>
pub fn set_benchmark_curve_name(&mut self, v: impl Into<String>)
pub fn has_benchmark_curve_name(&self) -> bool
pub fn benchmark_curve_point(&self) -> Result<String, ConversionError>
pub fn set_benchmark_curve_point(&mut self, v: impl Into<String>)
pub fn has_benchmark_curve_point(&self) -> bool
pub fn benchmark_price(&self) -> Result<Amount, ConversionError>
pub fn set_benchmark_price(&mut self, v: Amount)
pub fn has_benchmark_price(&self) -> bool
pub fn benchmark_price_type(&self) -> Result<i64, ConversionError>
pub fn set_benchmark_price_type(&mut self, v: i64)
pub fn has_benchmark_price_type(&self) -> bool
pub fn benchmark_security_id(&self) -> Result<String, ConversionError>
pub fn set_benchmark_security_id(&mut self, v: impl Into<String>)
pub fn has_benchmark_security_id(&self) -> bool
pub fn benchmark_security_id_source(&self) -> Result<String, ConversionError>
pub fn set_benchmark_security_id_source(&mut self, v: impl Into<String>)
pub fn has_benchmark_security_id_source(&self) -> bool
pub fn no_stipulations(&self) -> Result<Vec<NoStipulations>, ConversionError>
pub fn set_no_stipulations( &mut self, groups: impl IntoIterator<Item = NoStipulations>, )
pub fn settl_delivery_type(&self) -> Result<i64, ConversionError>
pub fn set_settl_delivery_type(&mut self, v: i64)
pub fn has_settl_delivery_type(&self) -> bool
pub fn stand_inst_db_type(&self) -> Result<i64, ConversionError>
pub fn set_stand_inst_db_type(&mut self, v: i64)
pub fn has_stand_inst_db_type(&self) -> bool
pub fn stand_inst_db_name(&self) -> Result<String, ConversionError>
pub fn set_stand_inst_db_name(&mut self, v: impl Into<String>)
pub fn has_stand_inst_db_name(&self) -> bool
pub fn stand_inst_db_id(&self) -> Result<String, ConversionError>
pub fn set_stand_inst_db_id(&mut self, v: impl Into<String>)
pub fn has_stand_inst_db_id(&self) -> bool
pub fn no_dlvy_inst(&self) -> Result<Vec<NoDlvyInst>, ConversionError>
pub fn set_no_dlvy_inst(&mut self, groups: impl IntoIterator<Item = NoDlvyInst>)
pub fn trading_session_id(&self) -> Result<String, ConversionError>
pub fn set_trading_session_id(&mut self, v: impl Into<String>)
pub fn has_trading_session_id(&self) -> bool
pub fn trading_session_sub_id(&self) -> Result<String, ConversionError>
pub fn set_trading_session_sub_id(&mut self, v: impl Into<String>)
pub fn has_trading_session_sub_id(&self) -> bool
pub fn settl_sess_id(&self) -> Result<String, ConversionError>
pub fn set_settl_sess_id(&mut self, v: impl Into<String>)
pub fn has_settl_sess_id(&self) -> bool
pub fn settl_sess_sub_id(&self) -> Result<String, ConversionError>
pub fn set_settl_sess_sub_id(&mut self, v: impl Into<String>)
pub fn has_settl_sess_sub_id(&self) -> bool
pub fn clearing_business_date(&self) -> Result<FixDate, ConversionError>
pub fn set_clearing_business_date(&mut self, v: FixDate)
pub fn has_clearing_business_date(&self) -> bool
pub fn text(&self) -> Result<String, ConversionError>
pub fn set_text(&mut self, v: impl Into<String>)
pub fn has_text(&self) -> bool
pub fn encoded_text_len(&self) -> Result<i64, ConversionError>
pub fn set_encoded_text_len(&mut self, v: i64)
pub fn has_encoded_text_len(&self) -> bool
pub fn encoded_text(&self) -> Result<Vec<u8>, ConversionError>
pub fn set_encoded_text(&mut self, v: impl Into<Vec<u8>>)
pub fn has_encoded_text(&self) -> bool
Methods from Deref<Target = Message>§
pub fn msg_type(&self) -> Result<String>
pub fn is_admin(&self) -> bool
pub fn seq_num(&self) -> Result<u64>
pub fn poss_dup(&self) -> bool
Sourcepub fn structure_error(&self) -> Option<Tag>
pub fn structure_error(&self) -> Option<Tag>
First tag found out of section order during parse, if any.
Sourcepub fn to_bytes(&self) -> Vec<u8> ⓘ
pub fn to_bytes(&self) -> Vec<u8> ⓘ
Serialize, computing BodyLength(9) and CheckSum(10).
Header order matches the reference engines: 8, 9, 35, then remaining header fields in ascending tag order. Body keeps insertion (wire) order. Trailer: descending tag order (SignatureLength before Signature), CheckSum last.
Sourcepub fn set_header(&mut self, tag: Tag, value: impl FixEncode)
pub fn set_header(&mut self, tag: Tag, value: impl FixEncode)
Set a header field (helper).
Sourcepub fn stamp_sending_time(&mut self, ts: UtcTimestamp)
pub fn stamp_sending_time(&mut self, ts: UtcTimestamp)
Stamp SendingTime(52) with now at the given precision.
Trait Implementations§
Source§impl Clone for CollateralAssignment
impl Clone for CollateralAssignment
Source§fn clone(&self) -> CollateralAssignment
fn clone(&self) -> CollateralAssignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CollateralAssignment
impl Debug for CollateralAssignment
Source§impl Deref for CollateralAssignment
impl Deref for CollateralAssignment
Source§impl DerefMut for CollateralAssignment
impl DerefMut for CollateralAssignment
Source§impl From<CollateralAssignment> for Message
impl From<CollateralAssignment> for Message
Source§fn from(m: CollateralAssignment) -> Message
fn from(m: CollateralAssignment) -> Message
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollateralAssignment
impl RefUnwindSafe for CollateralAssignment
impl Send for CollateralAssignment
impl Sync for CollateralAssignment
impl Unpin for CollateralAssignment
impl UnsafeUnpin for CollateralAssignment
impl UnwindSafe for CollateralAssignment
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