pub enum OrderRestrictions {
ProgramTrade,
IndexArbitrage,
NonIndexArbitrage,
CompetingMarketMaker,
ActingAsMarketMakerOrSpecialistInTheSecurity,
ActingAsMarketMakerOrSpecialistInTheUnderlyingSecurityOfADerivativeSecurity,
ForeignEntity,
ExternalMarketParticipant,
ExternalInterConnectedMarketLinkage,
RisklessArbitrage,
}
Expand description
Field type variants for OrderRestrictions
.
Variants§
ProgramTrade
Field variant ‘1’.
IndexArbitrage
Field variant ‘2’.
NonIndexArbitrage
Field variant ‘3’.
CompetingMarketMaker
Field variant ‘4’.
ActingAsMarketMakerOrSpecialistInTheSecurity
Field variant ‘5’.
ActingAsMarketMakerOrSpecialistInTheUnderlyingSecurityOfADerivativeSecurity
Field variant ‘6’.
ForeignEntity
Field variant ‘7’.
ExternalMarketParticipant
Field variant ‘8’.
ExternalInterConnectedMarketLinkage
Field variant ‘9’.
RisklessArbitrage
Field variant ‘A’.
Trait Implementations§
Source§impl Clone for OrderRestrictions
impl Clone for OrderRestrictions
Source§fn clone(&self) -> OrderRestrictions
fn clone(&self) -> OrderRestrictions
Returns a duplicate 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 OrderRestrictions
impl Debug for OrderRestrictions
Source§impl<'a> FieldType<'a> for OrderRestrictions
impl<'a> FieldType<'a> for OrderRestrictions
Source§type SerializeSettings = ()
type SerializeSettings = ()
A type with values that customize the serialization algorithm, e.g.
padding information.
Source§fn serialize_with<B>(
&self,
buffer: &mut B,
_settings: Self::SerializeSettings,
) -> usizewhere
B: Buffer,
fn serialize_with<B>(
&self,
buffer: &mut B,
_settings: Self::SerializeSettings,
) -> usizewhere
B: Buffer,
Writes
self
to buffer
using custom serialization settings
.Source§fn deserialize(data: &'a [u8]) -> Result<Self, <Self as FieldType<'a>>::Error>
fn deserialize(data: &'a [u8]) -> Result<Self, <Self as FieldType<'a>>::Error>
Parses and deserializes from
data
.Source§fn serialize<B>(&self, buffer: &mut B) -> usizewhere
B: Buffer,
fn serialize<B>(&self, buffer: &mut B) -> usizewhere
B: Buffer,
Writes
self
to buffer
using default settings.Source§fn deserialize_lossy(data: &'a [u8]) -> Result<Self, Self::Error>
fn deserialize_lossy(data: &'a [u8]) -> Result<Self, Self::Error>
Like
FieldType::deserialize
, but it’s allowed to skip some amount of
input checking. Invalid inputs might not trigger errors and instead be
deserialized as random values. Read moreSource§impl Hash for OrderRestrictions
impl Hash for OrderRestrictions
Source§impl PartialEq for OrderRestrictions
impl PartialEq for OrderRestrictions
impl Copy for OrderRestrictions
impl Eq for OrderRestrictions
impl StructuralPartialEq for OrderRestrictions
Auto Trait Implementations§
impl Freeze for OrderRestrictions
impl RefUnwindSafe for OrderRestrictions
impl Send for OrderRestrictions
impl Sync for OrderRestrictions
impl Unpin for OrderRestrictions
impl UnwindSafe for OrderRestrictions
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