Skip to main content

DerivativeSecurityListRequest

Struct DerivativeSecurityListRequest 

Source
pub struct DerivativeSecurityListRequest {
    pub message: Message,
}
Expand description

DerivativeSecurityListRequest is the fix44 DerivativeSecurityListRequest type, MsgType = z.

Fields§

§message: Message

Implementations§

Source§

impl DerivativeSecurityListRequest

Source

pub fn new( security_req_id: SecurityReqIDField, security_list_request_type: SecurityListRequestTypeField, ) -> Self

Creates a new DerivativeSecurityListRequest with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a DerivativeSecurityListRequest from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

pub fn set_currency(&mut self, v: String)

Sets Currency, Tag 15.

Source

pub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets Currency, Tag 15.

Source

pub fn has_currency(&self) -> bool

Returns true if Currency is present, Tag 15.

Source

pub fn set_encoded_text(&mut self, v: String)

Sets EncodedText, Tag 355.

Source

pub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>

Gets EncodedText, Tag 355.

Source

pub fn has_encoded_text(&self) -> bool

Returns true if EncodedText is present, Tag 355.

Source

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

Sets EncodedTextLen, Tag 354.

Source

pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedTextLen, Tag 354.

Source

pub fn has_encoded_text_len(&self) -> bool

Returns true if EncodedTextLen is present, Tag 354.

Source

pub fn set_encoded_underlying_issuer(&mut self, v: String)

Sets EncodedUnderlyingIssuer, Tag 363.

Source

pub fn get_encoded_underlying_issuer( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets EncodedUnderlyingIssuer, Tag 363.

Source

pub fn has_encoded_underlying_issuer(&self) -> bool

Returns true if EncodedUnderlyingIssuer is present, Tag 363.

Source

pub fn set_encoded_underlying_issuer_len(&mut self, v: isize)

Sets EncodedUnderlyingIssuerLen, Tag 362.

Source

pub fn get_encoded_underlying_issuer_len( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedUnderlyingIssuerLen, Tag 362.

Source

pub fn has_encoded_underlying_issuer_len(&self) -> bool

Returns true if EncodedUnderlyingIssuerLen is present, Tag 362.

Source

pub fn set_encoded_underlying_security_desc(&mut self, v: String)

Sets EncodedUnderlyingSecurityDesc, Tag 365.

Source

pub fn get_encoded_underlying_security_desc( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets EncodedUnderlyingSecurityDesc, Tag 365.

Source

pub fn has_encoded_underlying_security_desc(&self) -> bool

Returns true if EncodedUnderlyingSecurityDesc is present, Tag 365.

Source

pub fn set_encoded_underlying_security_desc_len(&mut self, v: isize)

Sets EncodedUnderlyingSecurityDescLen, Tag 364.

Source

pub fn get_encoded_underlying_security_desc_len( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedUnderlyingSecurityDescLen, Tag 364.

Source

pub fn has_encoded_underlying_security_desc_len(&self) -> bool

Returns true if EncodedUnderlyingSecurityDescLen is present, Tag 364.

Source

pub fn set_no_underlying_security_alt_id(&mut self, v: isize)

Sets NoUnderlyingSecurityAltID, Tag 457.

Source

pub fn get_no_underlying_security_alt_id( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets NoUnderlyingSecurityAltID, Tag 457.

Source

pub fn has_no_underlying_security_alt_id(&self) -> bool

Returns true if NoUnderlyingSecurityAltID is present, Tag 457.

Source

pub fn set_no_underlying_stips(&mut self, v: isize)

Sets NoUnderlyingStips, Tag 887.

Source

pub fn get_no_underlying_stips(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoUnderlyingStips, Tag 887.

Source

pub fn has_no_underlying_stips(&self) -> bool

Returns true if NoUnderlyingStips is present, Tag 887.

Source

pub fn set_security_list_request_type(&mut self, v: isize)

Sets SecurityListRequestType, Tag 559.

Source

pub fn get_security_list_request_type( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets SecurityListRequestType, Tag 559.

Source

pub fn has_security_list_request_type(&self) -> bool

Returns true if SecurityListRequestType is present, Tag 559.

Source

pub fn set_security_req_id(&mut self, v: String)

Sets SecurityReqID, Tag 320.

Source

pub fn get_security_req_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityReqID, Tag 320.

Source

pub fn has_security_req_id(&self) -> bool

Returns true if SecurityReqID is present, Tag 320.

Source

pub fn set_security_sub_type(&mut self, v: String)

Sets SecuritySubType, Tag 762.

Source

pub fn get_security_sub_type(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecuritySubType, Tag 762.

Source

pub fn has_security_sub_type(&self) -> bool

Returns true if SecuritySubType is present, Tag 762.

Source

pub fn set_subscription_request_type(&mut self, v: String)

Sets SubscriptionRequestType, Tag 263.

Source

pub fn get_subscription_request_type( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets SubscriptionRequestType, Tag 263.

Source

pub fn has_subscription_request_type(&self) -> bool

Returns true if SubscriptionRequestType is present, Tag 263.

Source

pub fn set_text(&mut self, v: String)

Sets Text, Tag 58.

Source

pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>

Gets Text, Tag 58.

Source

pub fn has_text(&self) -> bool

Returns true if Text is present, Tag 58.

Source

pub fn set_trading_session_id(&mut self, v: String)

Sets TradingSessionID, Tag 336.

Source

pub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets TradingSessionID, Tag 336.

Source

pub fn has_trading_session_id(&self) -> bool

Returns true if TradingSessionID is present, Tag 336.

Source

pub fn set_trading_session_sub_id(&mut self, v: String)

Sets TradingSessionSubID, Tag 625.

Source

pub fn get_trading_session_sub_id( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets TradingSessionSubID, Tag 625.

Source

pub fn has_trading_session_sub_id(&self) -> bool

Returns true if TradingSessionSubID is present, Tag 625.

Source

pub fn set_underlying_cfi_code(&mut self, v: String)

Sets UnderlyingCFICode, Tag 463.

Source

pub fn get_underlying_cfi_code(&self) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCFICode, Tag 463.

Source

pub fn has_underlying_cfi_code(&self) -> bool

Returns true if UnderlyingCFICode is present, Tag 463.

Source

pub fn set_underlying_cp_program(&mut self, v: String)

Sets UnderlyingCPProgram, Tag 877.

Source

pub fn get_underlying_cp_program( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCPProgram, Tag 877.

Source

pub fn has_underlying_cp_program(&self) -> bool

Returns true if UnderlyingCPProgram is present, Tag 877.

Source

pub fn set_underlying_cp_reg_type(&mut self, v: String)

Sets UnderlyingCPRegType, Tag 878.

Source

pub fn get_underlying_cp_reg_type( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCPRegType, Tag 878.

Source

pub fn has_underlying_cp_reg_type(&self) -> bool

Returns true if UnderlyingCPRegType is present, Tag 878.

Source

pub fn set_underlying_contract_multiplier(&mut self, val: Decimal, scale: i32)

Sets UnderlyingContractMultiplier, Tag 436.

Source

pub fn get_underlying_contract_multiplier( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingContractMultiplier, Tag 436.

Source

pub fn has_underlying_contract_multiplier(&self) -> bool

Returns true if UnderlyingContractMultiplier is present, Tag 436.

Source

pub fn set_underlying_country_of_issue(&mut self, v: String)

Sets UnderlyingCountryOfIssue, Tag 592.

Source

pub fn get_underlying_country_of_issue( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCountryOfIssue, Tag 592.

Source

pub fn has_underlying_country_of_issue(&self) -> bool

Returns true if UnderlyingCountryOfIssue is present, Tag 592.

Source

pub fn set_underlying_coupon_payment_date(&mut self, v: String)

Sets UnderlyingCouponPaymentDate, Tag 241.

Source

pub fn get_underlying_coupon_payment_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCouponPaymentDate, Tag 241.

Source

pub fn has_underlying_coupon_payment_date(&self) -> bool

Returns true if UnderlyingCouponPaymentDate is present, Tag 241.

Source

pub fn set_underlying_coupon_rate(&mut self, val: Decimal, scale: i32)

Sets UnderlyingCouponRate, Tag 435.

Source

pub fn get_underlying_coupon_rate( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingCouponRate, Tag 435.

Source

pub fn has_underlying_coupon_rate(&self) -> bool

Returns true if UnderlyingCouponRate is present, Tag 435.

Source

pub fn set_underlying_credit_rating(&mut self, v: String)

Sets UnderlyingCreditRating, Tag 256.

Source

pub fn get_underlying_credit_rating( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCreditRating, Tag 256.

Source

pub fn has_underlying_credit_rating(&self) -> bool

Returns true if UnderlyingCreditRating is present, Tag 256.

Source

pub fn set_underlying_currency(&mut self, v: String)

Sets UnderlyingCurrency, Tag 318.

Source

pub fn get_underlying_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingCurrency, Tag 318.

Source

pub fn has_underlying_currency(&self) -> bool

Returns true if UnderlyingCurrency is present, Tag 318.

Source

pub fn set_underlying_current_value(&mut self, val: Decimal, scale: i32)

Sets UnderlyingCurrentValue, Tag 885.

Source

pub fn get_underlying_current_value( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingCurrentValue, Tag 885.

Source

pub fn has_underlying_current_value(&self) -> bool

Returns true if UnderlyingCurrentValue is present, Tag 885.

Source

pub fn set_underlying_dirty_price(&mut self, val: Decimal, scale: i32)

Sets UnderlyingDirtyPrice, Tag 882.

Source

pub fn get_underlying_dirty_price( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingDirtyPrice, Tag 882.

Source

pub fn has_underlying_dirty_price(&self) -> bool

Returns true if UnderlyingDirtyPrice is present, Tag 882.

Source

pub fn set_underlying_end_price(&mut self, val: Decimal, scale: i32)

Sets UnderlyingEndPrice, Tag 883.

Source

pub fn get_underlying_end_price( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingEndPrice, Tag 883.

Source

pub fn has_underlying_end_price(&self) -> bool

Returns true if UnderlyingEndPrice is present, Tag 883.

Source

pub fn set_underlying_end_value(&mut self, val: Decimal, scale: i32)

Sets UnderlyingEndValue, Tag 886.

Source

pub fn get_underlying_end_value( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingEndValue, Tag 886.

Source

pub fn has_underlying_end_value(&self) -> bool

Returns true if UnderlyingEndValue is present, Tag 886.

Source

pub fn set_underlying_factor(&mut self, val: Decimal, scale: i32)

Sets UnderlyingFactor, Tag 246.

Source

pub fn get_underlying_factor(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingFactor, Tag 246.

Source

pub fn has_underlying_factor(&self) -> bool

Returns true if UnderlyingFactor is present, Tag 246.

Source

pub fn set_underlying_instr_registry(&mut self, v: String)

Sets UnderlyingInstrRegistry, Tag 595.

Source

pub fn get_underlying_instr_registry( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingInstrRegistry, Tag 595.

Source

pub fn has_underlying_instr_registry(&self) -> bool

Returns true if UnderlyingInstrRegistry is present, Tag 595.

Source

pub fn set_underlying_issue_date(&mut self, v: String)

Sets UnderlyingIssueDate, Tag 242.

Source

pub fn get_underlying_issue_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingIssueDate, Tag 242.

Source

pub fn has_underlying_issue_date(&self) -> bool

Returns true if UnderlyingIssueDate is present, Tag 242.

Source

pub fn set_underlying_issuer(&mut self, v: String)

Sets UnderlyingIssuer, Tag 306.

Source

pub fn get_underlying_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingIssuer, Tag 306.

Source

pub fn has_underlying_issuer(&self) -> bool

Returns true if UnderlyingIssuer is present, Tag 306.

Source

pub fn set_underlying_locale_of_issue(&mut self, v: String)

Sets UnderlyingLocaleOfIssue, Tag 594.

Source

pub fn get_underlying_locale_of_issue( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingLocaleOfIssue, Tag 594.

Source

pub fn has_underlying_locale_of_issue(&self) -> bool

Returns true if UnderlyingLocaleOfIssue is present, Tag 594.

Source

pub fn set_underlying_maturity_date(&mut self, v: String)

Sets UnderlyingMaturityDate, Tag 542.

Source

pub fn get_underlying_maturity_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingMaturityDate, Tag 542.

Source

pub fn has_underlying_maturity_date(&self) -> bool

Returns true if UnderlyingMaturityDate is present, Tag 542.

Source

pub fn set_underlying_maturity_month_year(&mut self, v: String)

Sets UnderlyingMaturityMonthYear, Tag 313.

Source

pub fn get_underlying_maturity_month_year( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingMaturityMonthYear, Tag 313.

Source

pub fn has_underlying_maturity_month_year(&self) -> bool

Returns true if UnderlyingMaturityMonthYear is present, Tag 313.

Source

pub fn set_underlying_opt_attribute(&mut self, v: String)

Sets UnderlyingOptAttribute, Tag 317.

Source

pub fn get_underlying_opt_attribute( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingOptAttribute, Tag 317.

Source

pub fn has_underlying_opt_attribute(&self) -> bool

Returns true if UnderlyingOptAttribute is present, Tag 317.

Source

pub fn set_underlying_product(&mut self, v: isize)

Sets UnderlyingProduct, Tag 462.

Source

pub fn get_underlying_product(&self) -> Result<isize, MessageRejectErrorEnum>

Gets UnderlyingProduct, Tag 462.

Source

pub fn has_underlying_product(&self) -> bool

Returns true if UnderlyingProduct is present, Tag 462.

Source

pub fn set_underlying_px(&mut self, val: Decimal, scale: i32)

Sets UnderlyingPx, Tag 810.

Source

pub fn get_underlying_px(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingPx, Tag 810.

Source

pub fn has_underlying_px(&self) -> bool

Returns true if UnderlyingPx is present, Tag 810.

Source

pub fn set_underlying_qty(&mut self, val: Decimal, scale: i32)

Sets UnderlyingQty, Tag 879.

Source

pub fn get_underlying_qty(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingQty, Tag 879.

Source

pub fn has_underlying_qty(&self) -> bool

Returns true if UnderlyingQty is present, Tag 879.

Source

pub fn set_underlying_redemption_date(&mut self, v: String)

Sets UnderlyingRedemptionDate, Tag 247.

Source

pub fn get_underlying_redemption_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingRedemptionDate, Tag 247.

Source

pub fn has_underlying_redemption_date(&self) -> bool

Returns true if UnderlyingRedemptionDate is present, Tag 247.

Source

pub fn set_underlying_repo_collateral_security_type(&mut self, v: isize)

Sets UnderlyingRepoCollateralSecurityType, Tag 243.

Source

pub fn get_underlying_repo_collateral_security_type( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets UnderlyingRepoCollateralSecurityType, Tag 243.

Source

pub fn has_underlying_repo_collateral_security_type(&self) -> bool

Returns true if UnderlyingRepoCollateralSecurityType is present, Tag 243.

Source

pub fn set_underlying_repurchase_rate(&mut self, val: Decimal, scale: i32)

Sets UnderlyingRepurchaseRate, Tag 245.

Source

pub fn get_underlying_repurchase_rate( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingRepurchaseRate, Tag 245.

Source

pub fn has_underlying_repurchase_rate(&self) -> bool

Returns true if UnderlyingRepurchaseRate is present, Tag 245.

Source

pub fn set_underlying_repurchase_term(&mut self, v: isize)

Sets UnderlyingRepurchaseTerm, Tag 244.

Source

pub fn get_underlying_repurchase_term( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets UnderlyingRepurchaseTerm, Tag 244.

Source

pub fn has_underlying_repurchase_term(&self) -> bool

Returns true if UnderlyingRepurchaseTerm is present, Tag 244.

Source

pub fn set_underlying_security_desc(&mut self, v: String)

Sets UnderlyingSecurityDesc, Tag 307.

Source

pub fn get_underlying_security_desc( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSecurityDesc, Tag 307.

Source

pub fn has_underlying_security_desc(&self) -> bool

Returns true if UnderlyingSecurityDesc is present, Tag 307.

Source

pub fn set_underlying_security_exchange(&mut self, v: String)

Sets UnderlyingSecurityExchange, Tag 308.

Source

pub fn get_underlying_security_exchange( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSecurityExchange, Tag 308.

Source

pub fn has_underlying_security_exchange(&self) -> bool

Returns true if UnderlyingSecurityExchange is present, Tag 308.

Source

pub fn set_underlying_security_id(&mut self, v: String)

Sets UnderlyingSecurityID, Tag 309.

Source

pub fn get_underlying_security_id( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSecurityID, Tag 309.

Source

pub fn has_underlying_security_id(&self) -> bool

Returns true if UnderlyingSecurityID is present, Tag 309.

Source

pub fn set_underlying_security_id_source(&mut self, v: String)

Sets UnderlyingSecurityIDSource, Tag 305.

Source

pub fn get_underlying_security_id_source( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSecurityIDSource, Tag 305.

Source

pub fn has_underlying_security_id_source(&self) -> bool

Returns true if UnderlyingSecurityIDSource is present, Tag 305.

Source

pub fn set_underlying_security_sub_type(&mut self, v: String)

Sets UnderlyingSecuritySubType, Tag 763.

Source

pub fn get_underlying_security_sub_type( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSecuritySubType, Tag 763.

Source

pub fn has_underlying_security_sub_type(&self) -> bool

Returns true if UnderlyingSecuritySubType is present, Tag 763.

Source

pub fn set_underlying_security_type(&mut self, v: String)

Sets UnderlyingSecurityType, Tag 310.

Source

pub fn get_underlying_security_type( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSecurityType, Tag 310.

Source

pub fn has_underlying_security_type(&self) -> bool

Returns true if UnderlyingSecurityType is present, Tag 310.

Source

pub fn set_underlying_start_value(&mut self, val: Decimal, scale: i32)

Sets UnderlyingStartValue, Tag 884.

Source

pub fn get_underlying_start_value( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingStartValue, Tag 884.

Source

pub fn has_underlying_start_value(&self) -> bool

Returns true if UnderlyingStartValue is present, Tag 884.

Source

pub fn set_underlying_state_or_province_of_issue(&mut self, v: String)

Sets UnderlyingStateOrProvinceOfIssue, Tag 593.

Source

pub fn get_underlying_state_or_province_of_issue( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingStateOrProvinceOfIssue, Tag 593.

Source

pub fn has_underlying_state_or_province_of_issue(&self) -> bool

Returns true if UnderlyingStateOrProvinceOfIssue is present, Tag 593.

Source

pub fn set_underlying_strike_currency(&mut self, v: String)

Sets UnderlyingStrikeCurrency, Tag 941.

Source

pub fn get_underlying_strike_currency( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingStrikeCurrency, Tag 941.

Source

pub fn has_underlying_strike_currency(&self) -> bool

Returns true if UnderlyingStrikeCurrency is present, Tag 941.

Source

pub fn set_underlying_strike_price(&mut self, val: Decimal, scale: i32)

Sets UnderlyingStrikePrice, Tag 316.

Source

pub fn get_underlying_strike_price( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnderlyingStrikePrice, Tag 316.

Source

pub fn has_underlying_strike_price(&self) -> bool

Returns true if UnderlyingStrikePrice is present, Tag 316.

Source

pub fn set_underlying_symbol(&mut self, v: String)

Sets UnderlyingSymbol, Tag 311.

Source

pub fn get_underlying_symbol(&self) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSymbol, Tag 311.

Source

pub fn has_underlying_symbol(&self) -> bool

Returns true if UnderlyingSymbol is present, Tag 311.

Source

pub fn set_underlying_symbol_sfx(&mut self, v: String)

Sets UnderlyingSymbolSfx, Tag 312.

Source

pub fn get_underlying_symbol_sfx( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets UnderlyingSymbolSfx, Tag 312.

Source

pub fn has_underlying_symbol_sfx(&self) -> bool

Returns true if UnderlyingSymbolSfx is present, Tag 312.

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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<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.