#[non_exhaustive]pub enum GuaranteedStopLossOrderMode {
Disabled,
Allowed,
Required,
Unknown(String),
}Expand description
The overall behaviour of the Account regarding guaranteed Stop Loss Orders.
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.
Allowed
The Account is able, but not required to have guaranteed Stop Loss Orders for open Trades.
Required
The Account is required to have guaranteed Stop Loss Orders for all open Trades.
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for GuaranteedStopLossOrderMode
impl Clone for GuaranteedStopLossOrderMode
Source§impl Debug for GuaranteedStopLossOrderMode
impl Debug for GuaranteedStopLossOrderMode
Source§impl<'de> Deserialize<'de> for GuaranteedStopLossOrderMode
impl<'de> Deserialize<'de> for GuaranteedStopLossOrderMode
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 GuaranteedStopLossOrderMode
Source§impl Hash for GuaranteedStopLossOrderMode
impl Hash for GuaranteedStopLossOrderMode
impl StructuralPartialEq for GuaranteedStopLossOrderMode
Auto Trait Implementations§
impl Freeze for GuaranteedStopLossOrderMode
impl RefUnwindSafe for GuaranteedStopLossOrderMode
impl Send for GuaranteedStopLossOrderMode
impl Sync for GuaranteedStopLossOrderMode
impl Unpin for GuaranteedStopLossOrderMode
impl UnsafeUnpin for GuaranteedStopLossOrderMode
impl UnwindSafe for GuaranteedStopLossOrderMode
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