Enum easyfix_messages::fields::AccountType
source · pub enum AccountType {
AccountIsCarriedOnCustomerSideOfTheBooks,
AccountIsCarriedOnNonCustomerSideOfBooks,
HouseTrader,
FloorTrader,
AccountIsCarriedOnNonCustomerSideOfBooksAndIsCrossMargined,
AccountIsHouseTraderAndIsCrossMargined,
JointBackOfficeAccount,
}
Variants§
AccountIsCarriedOnCustomerSideOfTheBooks
AccountIsCarriedOnNonCustomerSideOfBooks
HouseTrader
FloorTrader
AccountIsCarriedOnNonCustomerSideOfBooksAndIsCrossMargined
AccountIsHouseTraderAndIsCrossMargined
JointBackOfficeAccount
Implementations§
source§impl AccountType
impl AccountType
pub const fn from_bytes(input: &[u8]) -> Option<AccountType>
pub const fn from_fix_str(input: &FixStr) -> Option<AccountType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for AccountType
impl Clone for AccountType
source§fn clone(&self) -> AccountType
fn clone(&self) -> AccountType
Returns a copy of the value. Read more
1.0.0 · 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 AccountType
impl Debug for AccountType
source§impl Default for AccountType
impl Default for AccountType
source§fn default() -> AccountType
fn default() -> AccountType
Returns the “default value” for a type. Read more
source§impl From<AccountType> for &'static [u8]
impl From<AccountType> for &'static [u8]
source§impl PartialEq for AccountType
impl PartialEq for AccountType
source§fn eq(&self, other: &AccountType) -> bool
fn eq(&self, other: &AccountType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for AccountType
impl ToFixString for AccountType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for AccountType
impl TryFrom<i64> for AccountType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<AccountType, SessionRejectReason>
fn try_from(input: Int) -> Result<AccountType, SessionRejectReason>
Performs the conversion.
impl Copy for AccountType
impl Eq for AccountType
impl StructuralPartialEq for AccountType
Auto Trait Implementations§
impl RefUnwindSafe for AccountType
impl Send for AccountType
impl Sync for AccountType
impl Unpin for AccountType
impl UnwindSafe for AccountType
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