Enum SecurityType

Source
pub enum SecurityType {
Show 118 variants UsTreasuryNoteUst, UsTreasuryBillUstb, EuroSupranationalCoupons, FederalAgencyCoupon, FederalAgencyDiscountNote, PrivateExportFunding, UsdSupranationalCoupons, CorporateBond, CorporatePrivatePlacement, ConvertibleBond, DualCurrency, EuroCorporateBond, EuroCorporateFloatingRateNotes, UsCorporateFloatingRateNotes, IndexedLinked, StructuredNotes, YankeeCorporateBond, ForeignExchangeContract, CreditDefaultSwap, Future, Option, OptionsOnFutures, OptionsOnPhysical, InterestRateSwap, OptionsOnCombo, CommonStock, PreferredStock, Repurchase, Forward, BuySellback, SecuritiesLoan, SecuritiesPledge, BradyBond, CanadianTreasuryNotes, CanadianTreasuryBills, EuroSovereigns, CanadianProvincialBonds, TreasuryBill, UsTreasuryBond, InterestStripFromAnyBondOrNote, UsTreasuryBillTbill, TreasuryInflationProtectedSecurities, PrincipalStripOfACallableBondOrNote, PrincipalStripFromANonCallableBondOrNote, UsTreasuryNoteTnote, TermLoan, RevolverLoan, RevolverTermLoan, BridgeLoan, LetterOfCredit, SwingLineFacility, DebtorInPossession, Defaulted, Withdrawn, Replaced, Matured, AmendedRestated, Retired, BankersAcceptance, BankDepositoryNote, BankNotes, BillOfExchanges, CanadianMoneyMarkets, CertificateOfDeposit, CallLoans, CommercialPaper, DepositNotes, EuroCertificateOfDeposit, EuroCommercialPaper, LiquidityNote, MediumTermNotes, Overnight, PromissoryNote, ShortTermLoanNote, PlazosFijos, SecuredLiquidityNote, TimeDeposit, TermLiquidityNote, ExtendedCommNote, YankeeCertificateOfDeposit, AssetBackedSecurities, CanadianMortgageBonds, CorpMortgageBackedSecurities, CollateralizedMortgageObligation, IoetteMortgage, MortgageBackedSecurities, MortgageInterestOnly, MortgagePrincipalOnly, MortgagePrivatePlacement, MiscellaneousPassThrough, Pfandbriefe, ToBeAnnounced, OtherAnticipationNotes, CertificateOfObligation, CertificateOfParticipation, GeneralObligationBonds, MandatoryTender, RevenueAnticipationNote, RevenueBonds, SpecialAssessment, SpecialObligation, SpecialTax, TaxAnticipationNote, TaxAllocation, TaxExemptCommercialPaper, TaxableMunicipalCp, TaxRevenueAnticipationNote, VariableRateDemandNote, Warrant, MutualFund, MultilegInstrument, NoSecurityType, WildcardEntryForUseOnSecurityDefinitionRequest, Cash, NonDeliverableForward, FxSpot, FxForward, FxSwap,
}

Variants§

§

UsTreasuryNoteUst

Value “UST”

§

UsTreasuryBillUstb

Value “USTB”

§

EuroSupranationalCoupons

Value “EUSUPRA”

§

FederalAgencyCoupon

Value “FAC”

§

FederalAgencyDiscountNote

Value “FADN”

§

PrivateExportFunding

Value “PEF”

§

UsdSupranationalCoupons

Value “SUPRA”

§

CorporateBond

Value “CORP”

§

CorporatePrivatePlacement

Value “CPP”

§

ConvertibleBond

Value “CB”

§

DualCurrency

Value “DUAL”

§

EuroCorporateBond

Value “EUCORP”

§

EuroCorporateFloatingRateNotes

Value “EUFRN”

§

UsCorporateFloatingRateNotes

Value “FRN”

§

IndexedLinked

Value “XLINKD”

§

StructuredNotes

Value “STRUCT”

§

YankeeCorporateBond

Value “YANK”

§

ForeignExchangeContract

Value “FOR”

§

CreditDefaultSwap

Value “CDS”

§

Future

Value “FUT”

§

Option

Value “OPT”

§

OptionsOnFutures

Value “OOF”

§

OptionsOnPhysical

Value “OOP”

§

InterestRateSwap

Value “IRS”

§

OptionsOnCombo

Value “OOC”

§

CommonStock

Value “CS”

§

PreferredStock

Value “PS”

§

Repurchase

Value “REPO”

§

Forward

Value “FORWARD”

§

BuySellback

Value “BUYSELL”

§

SecuritiesLoan

Value “SECLOAN”

§

SecuritiesPledge

Value “SECPLEDGE”

§

BradyBond

Value “BRADY”

§

CanadianTreasuryNotes

Value “CAN”

§

CanadianTreasuryBills

Value “CTB”

§

EuroSovereigns

Value “EUSOV”

§

CanadianProvincialBonds

Value “PROV”

§

TreasuryBill

Value “TB”

§

UsTreasuryBond

Value “TBOND”

§

InterestStripFromAnyBondOrNote

Value “TINT”

§

UsTreasuryBillTbill

Value “TBILL”

§

TreasuryInflationProtectedSecurities

Value “TIPS”

§

PrincipalStripOfACallableBondOrNote

Value “TCAL”

§

PrincipalStripFromANonCallableBondOrNote

Value “TPRN”

§

UsTreasuryNoteTnote

Value “TNOTE”

§

TermLoan

Value “TERM”

§

RevolverLoan

Value “RVLV”

§

RevolverTermLoan

Value “RVLVTRM”

§

BridgeLoan

Value “BRIDGE”

§

LetterOfCredit

Value “LOFC”

§

SwingLineFacility

Value “SWING”

§

DebtorInPossession

Value “DINP”

§

Defaulted

Value “DEFLTED”

§

Withdrawn

Value “WITHDRN”

§

Replaced

Value “REPLACD”

§

Matured

Value “MATURED”

§

AmendedRestated

Value “AMENDED”

§

Retired

Value “RETIRED”

§

BankersAcceptance

Value “BA”

§

BankDepositoryNote

Value “BDN”

§

BankNotes

Value “BN”

§

BillOfExchanges

Value “BOX”

§

CanadianMoneyMarkets

Value “CAMM”

§

CertificateOfDeposit

Value “CD”

§

CallLoans

Value “CL”

§

CommercialPaper

Value “CP”

§

DepositNotes

Value “DN”

§

EuroCertificateOfDeposit

Value “EUCD”

§

EuroCommercialPaper

Value “EUCP”

§

LiquidityNote

Value “LQN”

§

MediumTermNotes

Value “MTN”

§

Overnight

Value “ONITE”

§

PromissoryNote

Value “PN”

§

ShortTermLoanNote

Value “STN”

§

PlazosFijos

Value “PZFJ”

§

SecuredLiquidityNote

Value “SLQN”

§

TimeDeposit

Value “TD”

§

TermLiquidityNote

Value “TLQN”

§

ExtendedCommNote

Value “XCN”

§

YankeeCertificateOfDeposit

Value “YCD”

§

AssetBackedSecurities

Value “ABS”

§

CanadianMortgageBonds

Value “CMB”

§

CorpMortgageBackedSecurities

Value “CMBS”

§

CollateralizedMortgageObligation

Value “CMO”

§

IoetteMortgage

Value “IET”

§

MortgageBackedSecurities

Value “MBS”

§

MortgageInterestOnly

Value “MIO”

§

MortgagePrincipalOnly

Value “MPO”

§

MortgagePrivatePlacement

Value “MPP”

§

MiscellaneousPassThrough

Value “MPT”

§

Pfandbriefe

Value “PFAND”

§

ToBeAnnounced

Value “TBA”

§

OtherAnticipationNotes

Value “AN”

§

CertificateOfObligation

Value “COFO”

§

CertificateOfParticipation

Value “COFP”

§

GeneralObligationBonds

Value “GO”

§

MandatoryTender

Value “MT”

§

RevenueAnticipationNote

Value “RAN”

§

RevenueBonds

Value “REV”

§

SpecialAssessment

Value “SPCLA”

§

SpecialObligation

Value “SPCLO”

§

SpecialTax

Value “SPCLT”

§

TaxAnticipationNote

Value “TAN”

§

TaxAllocation

Value “TAXA”

§

TaxExemptCommercialPaper

Value “TECP”

§

TaxableMunicipalCp

Value “TMCP”

§

TaxRevenueAnticipationNote

Value “TRAN”

§

VariableRateDemandNote

Value “VRDN”

§

Warrant

Value “WAR”

§

MutualFund

Value “MF”

§

MultilegInstrument

Value “MLEG”

§

NoSecurityType

Value “NONE”

§

WildcardEntryForUseOnSecurityDefinitionRequest

Value “?”

§

Cash

Value “CASH”

§

NonDeliverableForward

Value “FXNDF”

§

FxSpot

Value “FXSPOT”

§

FxForward

Value “FXFWD”

§

FxSwap

Value “FXSWAP”

Implementations§

Source§

impl SecurityType

Source

pub const fn from_bytes(input: &[u8]) -> Option<SecurityType>

Source

pub const fn from_fix_str(input: &FixStr) -> Option<SecurityType>

Source

pub const fn as_bytes(&self) -> &'static [u8]

Source

pub const fn as_fix_str(&self) -> &'static FixStr

Trait Implementations§

Source§

impl Clone for SecurityType

Source§

fn clone(&self) -> SecurityType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityType

Source§

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

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

impl Default for SecurityType

Source§

fn default() -> SecurityType

Returns the “default value” for a type. Read more
Source§

impl From<SecurityType> for &'static [u8]

Source§

fn from(input: SecurityType) -> &'static [u8]

Converts to this type from the input type.
Source§

impl PartialEq for SecurityType

Source§

fn eq(&self, other: &SecurityType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToFixString for SecurityType

Source§

impl TryFrom<&FixStr> for SecurityType

Source§

type Error = ParseRejectReason

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

fn try_from(input: &FixStr) -> Result<SecurityType, ParseRejectReason>

Performs the conversion.
Source§

impl Copy for SecurityType

Source§

impl Eq for SecurityType

Source§

impl StructuralPartialEq for SecurityType

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