#[non_exhaustive]pub enum GuaranteedStopLossOrderModeForInstrument {
Disabled,
Allowed,
Required,
Unknown(String),
}Expand description
The overall behaviour of the Account regarding Guaranteed Stop Loss Orders for a specific Instrument.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
The Account is not permitted to create Guaranteed Stop Loss Orders for this Instrument.
Allowed
The Account is able, but not required to have Guaranteed Stop Loss Orders for open Trades for this Instrument.
Required
The Account is required to have Guaranteed Stop Loss Orders for all open Trades for this Instrument.
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuaranteedStopLossOrderModeForInstrument
impl<'de> Deserialize<'de> for GuaranteedStopLossOrderModeForInstrument
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GuaranteedStopLossOrderModeForInstrument
impl StructuralPartialEq for GuaranteedStopLossOrderModeForInstrument
Auto Trait Implementations§
impl Freeze for GuaranteedStopLossOrderModeForInstrument
impl RefUnwindSafe for GuaranteedStopLossOrderModeForInstrument
impl Send for GuaranteedStopLossOrderModeForInstrument
impl Sync for GuaranteedStopLossOrderModeForInstrument
impl Unpin for GuaranteedStopLossOrderModeForInstrument
impl UnsafeUnpin for GuaranteedStopLossOrderModeForInstrument
impl UnwindSafe for GuaranteedStopLossOrderModeForInstrument
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