Skip to main content

CollateralAssignment

Struct CollateralAssignment 

Source
pub struct CollateralAssignment(pub Message);
Expand description

CollateralAssignment (35=AY).

Tuple Fields§

§0: Message

Implementations§

Source§

impl CollateralAssignment

Source

pub const MSG_TYPE: &'static str = "AY"

Source

pub fn new( coll_asgn_id: impl Into<String>, coll_asgn_reason: i64, coll_asgn_trans_type: i64, transact_time: UtcTimestamp, ) -> Self

Source

pub fn from_message(msg: Message) -> Result<Self, Message>

Wrap a generic message; fails unless 35=“AY”.

Source

pub fn coll_asgn_id(&self) -> Result<String, ConversionError>

Source

pub fn set_coll_asgn_id(&mut self, v: impl Into<String>)

Source

pub fn has_coll_asgn_id(&self) -> bool

Source

pub fn coll_req_id(&self) -> Result<String, ConversionError>

Source

pub fn set_coll_req_id(&mut self, v: impl Into<String>)

Source

pub fn has_coll_req_id(&self) -> bool

Source

pub fn coll_asgn_reason(&self) -> Result<i64, ConversionError>

Source

pub fn set_coll_asgn_reason(&mut self, v: i64)

Source

pub fn has_coll_asgn_reason(&self) -> bool

Source

pub fn coll_asgn_trans_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_coll_asgn_trans_type(&mut self, v: i64)

Source

pub fn has_coll_asgn_trans_type(&self) -> bool

Source

pub fn coll_asgn_ref_id(&self) -> Result<String, ConversionError>

Source

pub fn set_coll_asgn_ref_id(&mut self, v: impl Into<String>)

Source

pub fn has_coll_asgn_ref_id(&self) -> bool

Source

pub fn transact_time(&self) -> Result<UtcTimestamp, ConversionError>

Source

pub fn set_transact_time(&mut self, v: UtcTimestamp)

Source

pub fn has_transact_time(&self) -> bool

Source

pub fn expire_time(&self) -> Result<UtcTimestamp, ConversionError>

Source

pub fn set_expire_time(&mut self, v: UtcTimestamp)

Source

pub fn has_expire_time(&self) -> bool

Source

pub fn no_party_ids(&self) -> Result<Vec<NoPartyIDs>, ConversionError>

Source

pub fn set_no_party_ids(&mut self, groups: impl IntoIterator<Item = NoPartyIDs>)

Source

pub fn account(&self) -> Result<String, ConversionError>

Source

pub fn set_account(&mut self, v: impl Into<String>)

Source

pub fn has_account(&self) -> bool

Source

pub fn account_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_account_type(&mut self, v: i64)

Source

pub fn has_account_type(&self) -> bool

Source

pub fn cl_ord_id(&self) -> Result<String, ConversionError>

Source

pub fn set_cl_ord_id(&mut self, v: impl Into<String>)

Source

pub fn has_cl_ord_id(&self) -> bool

Source

pub fn order_id(&self) -> Result<String, ConversionError>

Source

pub fn set_order_id(&mut self, v: impl Into<String>)

Source

pub fn has_order_id(&self) -> bool

Source

pub fn secondary_order_id(&self) -> Result<String, ConversionError>

Source

pub fn set_secondary_order_id(&mut self, v: impl Into<String>)

Source

pub fn has_secondary_order_id(&self) -> bool

Source

pub fn secondary_cl_ord_id(&self) -> Result<String, ConversionError>

Source

pub fn set_secondary_cl_ord_id(&mut self, v: impl Into<String>)

Source

pub fn has_secondary_cl_ord_id(&self) -> bool

Source

pub fn no_execs(&self) -> Result<Vec<NoExecs>, ConversionError>

Source

pub fn set_no_execs(&mut self, groups: impl IntoIterator<Item = NoExecs>)

Source

pub fn no_trades(&self) -> Result<Vec<NoTrades>, ConversionError>

Source

pub fn set_no_trades(&mut self, groups: impl IntoIterator<Item = NoTrades>)

Source

pub fn symbol(&self) -> Result<String, ConversionError>

Source

pub fn set_symbol(&mut self, v: impl Into<String>)

Source

pub fn has_symbol(&self) -> bool

Source

pub fn symbol_sfx(&self) -> Result<String, ConversionError>

Source

pub fn set_symbol_sfx(&mut self, v: impl Into<String>)

Source

pub fn has_symbol_sfx(&self) -> bool

Source

pub fn security_id(&self) -> Result<String, ConversionError>

Source

pub fn set_security_id(&mut self, v: impl Into<String>)

Source

pub fn has_security_id(&self) -> bool

Source

pub fn security_id_source(&self) -> Result<String, ConversionError>

Source

pub fn set_security_id_source(&mut self, v: impl Into<String>)

Source

pub fn has_security_id_source(&self) -> bool

Source

pub fn no_security_alt_id( &self, ) -> Result<Vec<NoSecurityAltID>, ConversionError>

Source

pub fn set_no_security_alt_id( &mut self, groups: impl IntoIterator<Item = NoSecurityAltID>, )

Source

pub fn product(&self) -> Result<i64, ConversionError>

Source

pub fn set_product(&mut self, v: i64)

Source

pub fn has_product(&self) -> bool

Source

pub fn cfi_code(&self) -> Result<String, ConversionError>

Source

pub fn set_cfi_code(&mut self, v: impl Into<String>)

Source

pub fn has_cfi_code(&self) -> bool

Source

pub fn security_type(&self) -> Result<String, ConversionError>

Source

pub fn set_security_type(&mut self, v: impl Into<String>)

Source

pub fn has_security_type(&self) -> bool

Source

pub fn security_sub_type(&self) -> Result<String, ConversionError>

Source

pub fn set_security_sub_type(&mut self, v: impl Into<String>)

Source

pub fn has_security_sub_type(&self) -> bool

Source

pub fn maturity_month_year(&self) -> Result<String, ConversionError>

Source

pub fn set_maturity_month_year(&mut self, v: impl Into<String>)

Source

pub fn has_maturity_month_year(&self) -> bool

Source

pub fn maturity_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_maturity_date(&mut self, v: FixDate)

Source

pub fn has_maturity_date(&self) -> bool

Source

pub fn coupon_payment_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_coupon_payment_date(&mut self, v: FixDate)

Source

pub fn has_coupon_payment_date(&self) -> bool

Source

pub fn issue_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_issue_date(&mut self, v: FixDate)

Source

pub fn has_issue_date(&self) -> bool

Source

pub fn repo_collateral_security_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_repo_collateral_security_type(&mut self, v: i64)

Source

pub fn has_repo_collateral_security_type(&self) -> bool

Source

pub fn repurchase_term(&self) -> Result<i64, ConversionError>

Source

pub fn set_repurchase_term(&mut self, v: i64)

Source

pub fn has_repurchase_term(&self) -> bool

Source

pub fn repurchase_rate(&self) -> Result<Amount, ConversionError>

Source

pub fn set_repurchase_rate(&mut self, v: Amount)

Source

pub fn has_repurchase_rate(&self) -> bool

Source

pub fn factor(&self) -> Result<Amount, ConversionError>

Source

pub fn set_factor(&mut self, v: Amount)

Source

pub fn has_factor(&self) -> bool

Source

pub fn credit_rating(&self) -> Result<String, ConversionError>

Source

pub fn set_credit_rating(&mut self, v: impl Into<String>)

Source

pub fn has_credit_rating(&self) -> bool

Source

pub fn instr_registry(&self) -> Result<String, ConversionError>

Source

pub fn set_instr_registry(&mut self, v: impl Into<String>)

Source

pub fn has_instr_registry(&self) -> bool

Source

pub fn country_of_issue(&self) -> Result<String, ConversionError>

Source

pub fn set_country_of_issue(&mut self, v: impl Into<String>)

Source

pub fn has_country_of_issue(&self) -> bool

Source

pub fn state_or_province_of_issue(&self) -> Result<String, ConversionError>

Source

pub fn set_state_or_province_of_issue(&mut self, v: impl Into<String>)

Source

pub fn has_state_or_province_of_issue(&self) -> bool

Source

pub fn locale_of_issue(&self) -> Result<String, ConversionError>

Source

pub fn set_locale_of_issue(&mut self, v: impl Into<String>)

Source

pub fn has_locale_of_issue(&self) -> bool

Source

pub fn redemption_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_redemption_date(&mut self, v: FixDate)

Source

pub fn has_redemption_date(&self) -> bool

Source

pub fn strike_price(&self) -> Result<Amount, ConversionError>

Source

pub fn set_strike_price(&mut self, v: Amount)

Source

pub fn has_strike_price(&self) -> bool

Source

pub fn strike_currency(&self) -> Result<String, ConversionError>

Source

pub fn set_strike_currency(&mut self, v: impl Into<String>)

Source

pub fn has_strike_currency(&self) -> bool

Source

pub fn opt_attribute(&self) -> Result<char, ConversionError>

Source

pub fn set_opt_attribute(&mut self, v: char)

Source

pub fn has_opt_attribute(&self) -> bool

Source

pub fn contract_multiplier(&self) -> Result<Amount, ConversionError>

Source

pub fn set_contract_multiplier(&mut self, v: Amount)

Source

pub fn has_contract_multiplier(&self) -> bool

Source

pub fn coupon_rate(&self) -> Result<Amount, ConversionError>

Source

pub fn set_coupon_rate(&mut self, v: Amount)

Source

pub fn has_coupon_rate(&self) -> bool

Source

pub fn security_exchange(&self) -> Result<String, ConversionError>

Source

pub fn set_security_exchange(&mut self, v: impl Into<String>)

Source

pub fn has_security_exchange(&self) -> bool

Source

pub fn issuer(&self) -> Result<String, ConversionError>

Source

pub fn set_issuer(&mut self, v: impl Into<String>)

Source

pub fn has_issuer(&self) -> bool

Source

pub fn encoded_issuer_len(&self) -> Result<i64, ConversionError>

Source

pub fn set_encoded_issuer_len(&mut self, v: i64)

Source

pub fn has_encoded_issuer_len(&self) -> bool

Source

pub fn encoded_issuer(&self) -> Result<Vec<u8>, ConversionError>

Source

pub fn set_encoded_issuer(&mut self, v: impl Into<Vec<u8>>)

Source

pub fn has_encoded_issuer(&self) -> bool

Source

pub fn security_desc(&self) -> Result<String, ConversionError>

Source

pub fn set_security_desc(&mut self, v: impl Into<String>)

Source

pub fn has_security_desc(&self) -> bool

Source

pub fn encoded_security_desc_len(&self) -> Result<i64, ConversionError>

Source

pub fn set_encoded_security_desc_len(&mut self, v: i64)

Source

pub fn has_encoded_security_desc_len(&self) -> bool

Source

pub fn encoded_security_desc(&self) -> Result<Vec<u8>, ConversionError>

Source

pub fn set_encoded_security_desc(&mut self, v: impl Into<Vec<u8>>)

Source

pub fn has_encoded_security_desc(&self) -> bool

Source

pub fn pool(&self) -> Result<String, ConversionError>

Source

pub fn set_pool(&mut self, v: impl Into<String>)

Source

pub fn has_pool(&self) -> bool

Source

pub fn contract_settl_month(&self) -> Result<String, ConversionError>

Source

pub fn set_contract_settl_month(&mut self, v: impl Into<String>)

Source

pub fn has_contract_settl_month(&self) -> bool

Source

pub fn cp_program(&self) -> Result<i64, ConversionError>

Source

pub fn set_cp_program(&mut self, v: i64)

Source

pub fn has_cp_program(&self) -> bool

Source

pub fn cp_reg_type(&self) -> Result<String, ConversionError>

Source

pub fn set_cp_reg_type(&mut self, v: impl Into<String>)

Source

pub fn has_cp_reg_type(&self) -> bool

Source

pub fn no_events(&self) -> Result<Vec<NoEvents>, ConversionError>

Source

pub fn set_no_events(&mut self, groups: impl IntoIterator<Item = NoEvents>)

Source

pub fn dated_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_dated_date(&mut self, v: FixDate)

Source

pub fn has_dated_date(&self) -> bool

Source

pub fn interest_accrual_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_interest_accrual_date(&mut self, v: FixDate)

Source

pub fn has_interest_accrual_date(&self) -> bool

Source

pub fn agreement_desc(&self) -> Result<String, ConversionError>

Source

pub fn set_agreement_desc(&mut self, v: impl Into<String>)

Source

pub fn has_agreement_desc(&self) -> bool

Source

pub fn agreement_id(&self) -> Result<String, ConversionError>

Source

pub fn set_agreement_id(&mut self, v: impl Into<String>)

Source

pub fn has_agreement_id(&self) -> bool

Source

pub fn agreement_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_agreement_date(&mut self, v: FixDate)

Source

pub fn has_agreement_date(&self) -> bool

Source

pub fn agreement_currency(&self) -> Result<String, ConversionError>

Source

pub fn set_agreement_currency(&mut self, v: impl Into<String>)

Source

pub fn has_agreement_currency(&self) -> bool

Source

pub fn termination_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_termination_type(&mut self, v: i64)

Source

pub fn has_termination_type(&self) -> bool

Source

pub fn start_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_start_date(&mut self, v: FixDate)

Source

pub fn has_start_date(&self) -> bool

Source

pub fn end_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_end_date(&mut self, v: FixDate)

Source

pub fn has_end_date(&self) -> bool

Source

pub fn delivery_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_delivery_type(&mut self, v: i64)

Source

pub fn has_delivery_type(&self) -> bool

Source

pub fn margin_ratio(&self) -> Result<Amount, ConversionError>

Source

pub fn set_margin_ratio(&mut self, v: Amount)

Source

pub fn has_margin_ratio(&self) -> bool

Source

pub fn settl_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_settl_date(&mut self, v: FixDate)

Source

pub fn has_settl_date(&self) -> bool

Source

pub fn quantity(&self) -> Result<Amount, ConversionError>

Source

pub fn set_quantity(&mut self, v: Amount)

Source

pub fn has_quantity(&self) -> bool

Source

pub fn qty_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_qty_type(&mut self, v: i64)

Source

pub fn has_qty_type(&self) -> bool

Source

pub fn currency(&self) -> Result<String, ConversionError>

Source

pub fn set_currency(&mut self, v: impl Into<String>)

Source

pub fn has_currency(&self) -> bool

Source

pub fn no_legs(&self) -> Result<Vec<NoLegs>, ConversionError>

Source

pub fn set_no_legs(&mut self, groups: impl IntoIterator<Item = NoLegs>)

Source

pub fn no_underlyings(&self) -> Result<Vec<NoUnderlyings>, ConversionError>

Source

pub fn set_no_underlyings( &mut self, groups: impl IntoIterator<Item = NoUnderlyings>, )

Source

pub fn margin_excess(&self) -> Result<Amount, ConversionError>

Source

pub fn set_margin_excess(&mut self, v: Amount)

Source

pub fn has_margin_excess(&self) -> bool

Source

pub fn total_net_value(&self) -> Result<Amount, ConversionError>

Source

pub fn set_total_net_value(&mut self, v: Amount)

Source

pub fn has_total_net_value(&self) -> bool

Source

pub fn cash_outstanding(&self) -> Result<Amount, ConversionError>

Source

pub fn set_cash_outstanding(&mut self, v: Amount)

Source

pub fn has_cash_outstanding(&self) -> bool

Source

pub fn no_trd_reg_timestamps( &self, ) -> Result<Vec<NoTrdRegTimestamps>, ConversionError>

Source

pub fn set_no_trd_reg_timestamps( &mut self, groups: impl IntoIterator<Item = NoTrdRegTimestamps>, )

Source

pub fn side(&self) -> Result<char, ConversionError>

Source

pub fn set_side(&mut self, v: char)

Source

pub fn has_side(&self) -> bool

Source

pub fn no_misc_fees(&self) -> Result<Vec<NoMiscFees>, ConversionError>

Source

pub fn set_no_misc_fees(&mut self, groups: impl IntoIterator<Item = NoMiscFees>)

Source

pub fn price(&self) -> Result<Amount, ConversionError>

Source

pub fn set_price(&mut self, v: Amount)

Source

pub fn has_price(&self) -> bool

Source

pub fn price_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_price_type(&mut self, v: i64)

Source

pub fn has_price_type(&self) -> bool

Source

pub fn accrued_interest_amt(&self) -> Result<Amount, ConversionError>

Source

pub fn set_accrued_interest_amt(&mut self, v: Amount)

Source

pub fn has_accrued_interest_amt(&self) -> bool

Source

pub fn end_accrued_interest_amt(&self) -> Result<Amount, ConversionError>

Source

pub fn set_end_accrued_interest_amt(&mut self, v: Amount)

Source

pub fn has_end_accrued_interest_amt(&self) -> bool

Source

pub fn start_cash(&self) -> Result<Amount, ConversionError>

Source

pub fn set_start_cash(&mut self, v: Amount)

Source

pub fn has_start_cash(&self) -> bool

Source

pub fn end_cash(&self) -> Result<Amount, ConversionError>

Source

pub fn set_end_cash(&mut self, v: Amount)

Source

pub fn has_end_cash(&self) -> bool

Source

pub fn spread(&self) -> Result<Amount, ConversionError>

Source

pub fn set_spread(&mut self, v: Amount)

Source

pub fn has_spread(&self) -> bool

Source

pub fn benchmark_curve_currency(&self) -> Result<String, ConversionError>

Source

pub fn set_benchmark_curve_currency(&mut self, v: impl Into<String>)

Source

pub fn has_benchmark_curve_currency(&self) -> bool

Source

pub fn benchmark_curve_name(&self) -> Result<String, ConversionError>

Source

pub fn set_benchmark_curve_name(&mut self, v: impl Into<String>)

Source

pub fn has_benchmark_curve_name(&self) -> bool

Source

pub fn benchmark_curve_point(&self) -> Result<String, ConversionError>

Source

pub fn set_benchmark_curve_point(&mut self, v: impl Into<String>)

Source

pub fn has_benchmark_curve_point(&self) -> bool

Source

pub fn benchmark_price(&self) -> Result<Amount, ConversionError>

Source

pub fn set_benchmark_price(&mut self, v: Amount)

Source

pub fn has_benchmark_price(&self) -> bool

Source

pub fn benchmark_price_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_benchmark_price_type(&mut self, v: i64)

Source

pub fn has_benchmark_price_type(&self) -> bool

Source

pub fn benchmark_security_id(&self) -> Result<String, ConversionError>

Source

pub fn set_benchmark_security_id(&mut self, v: impl Into<String>)

Source

pub fn has_benchmark_security_id(&self) -> bool

Source

pub fn benchmark_security_id_source(&self) -> Result<String, ConversionError>

Source

pub fn set_benchmark_security_id_source(&mut self, v: impl Into<String>)

Source

pub fn has_benchmark_security_id_source(&self) -> bool

Source

pub fn no_stipulations(&self) -> Result<Vec<NoStipulations>, ConversionError>

Source

pub fn set_no_stipulations( &mut self, groups: impl IntoIterator<Item = NoStipulations>, )

Source

pub fn settl_delivery_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_settl_delivery_type(&mut self, v: i64)

Source

pub fn has_settl_delivery_type(&self) -> bool

Source

pub fn stand_inst_db_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_stand_inst_db_type(&mut self, v: i64)

Source

pub fn has_stand_inst_db_type(&self) -> bool

Source

pub fn stand_inst_db_name(&self) -> Result<String, ConversionError>

Source

pub fn set_stand_inst_db_name(&mut self, v: impl Into<String>)

Source

pub fn has_stand_inst_db_name(&self) -> bool

Source

pub fn stand_inst_db_id(&self) -> Result<String, ConversionError>

Source

pub fn set_stand_inst_db_id(&mut self, v: impl Into<String>)

Source

pub fn has_stand_inst_db_id(&self) -> bool

Source

pub fn no_dlvy_inst(&self) -> Result<Vec<NoDlvyInst>, ConversionError>

Source

pub fn set_no_dlvy_inst(&mut self, groups: impl IntoIterator<Item = NoDlvyInst>)

Source

pub fn trading_session_id(&self) -> Result<String, ConversionError>

Source

pub fn set_trading_session_id(&mut self, v: impl Into<String>)

Source

pub fn has_trading_session_id(&self) -> bool

Source

pub fn trading_session_sub_id(&self) -> Result<String, ConversionError>

Source

pub fn set_trading_session_sub_id(&mut self, v: impl Into<String>)

Source

pub fn has_trading_session_sub_id(&self) -> bool

Source

pub fn settl_sess_id(&self) -> Result<String, ConversionError>

Source

pub fn set_settl_sess_id(&mut self, v: impl Into<String>)

Source

pub fn has_settl_sess_id(&self) -> bool

Source

pub fn settl_sess_sub_id(&self) -> Result<String, ConversionError>

Source

pub fn set_settl_sess_sub_id(&mut self, v: impl Into<String>)

Source

pub fn has_settl_sess_sub_id(&self) -> bool

Source

pub fn clearing_business_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_clearing_business_date(&mut self, v: FixDate)

Source

pub fn has_clearing_business_date(&self) -> bool

Source

pub fn text(&self) -> Result<String, ConversionError>

Source

pub fn set_text(&mut self, v: impl Into<String>)

Source

pub fn has_text(&self) -> bool

Source

pub fn encoded_text_len(&self) -> Result<i64, ConversionError>

Source

pub fn set_encoded_text_len(&mut self, v: i64)

Source

pub fn has_encoded_text_len(&self) -> bool

Source

pub fn encoded_text(&self) -> Result<Vec<u8>, ConversionError>

Source

pub fn set_encoded_text(&mut self, v: impl Into<Vec<u8>>)

Source

pub fn has_encoded_text(&self) -> bool

Methods from Deref<Target = Message>§

Source

pub fn msg_type(&self) -> Result<String>

Source

pub fn is_admin(&self) -> bool

Source

pub fn seq_num(&self) -> Result<u64>

Source

pub fn poss_dup(&self) -> bool

Source

pub fn structure_error(&self) -> Option<Tag>

First tag found out of section order during parse, if any.

Source

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.

Source

pub fn set_header(&mut self, tag: Tag, value: impl FixEncode)

Set a header field (helper).

Source

pub fn set(&mut self, tag: Tag, value: impl FixEncode)

Set a body field (helper).

Source

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

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for CollateralAssignment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for CollateralAssignment

Source§

type Target = Message

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Message

Dereferences the value.
Source§

impl DerefMut for CollateralAssignment

Source§

fn deref_mut(&mut self) -> &mut Message

Mutably dereferences the value.
Source§

impl From<CollateralAssignment> for Message

Source§

fn from(m: CollateralAssignment) -> Message

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more