#[non_exhaustive]pub enum GuaranteedStopLossOrderMutability {
Fixed,
Replaceable,
Cancelable,
PriceWidenOnly,
Unknown(String),
}Expand description
For Accounts that support guaranteed Stop Loss Orders, describes the actions that can be performed on 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.
Fixed
Once a guaranteed Stop Loss Order has been created it cannot be replaced or cancelled.
Replaceable
An existing guaranteed Stop Loss Order can only be replaced, not cancelled.
Cancelable
Once a guaranteed Stop Loss Order has been created it can be either replaced or cancelled.
PriceWidenOnly
An existing guaranteed Stop Loss Order can only be replaced to widen the gap from the current price, not cancelled.
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuaranteedStopLossOrderMutability
impl<'de> Deserialize<'de> for GuaranteedStopLossOrderMutability
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 GuaranteedStopLossOrderMutability
impl StructuralPartialEq for GuaranteedStopLossOrderMutability
Auto Trait Implementations§
impl Freeze for GuaranteedStopLossOrderMutability
impl RefUnwindSafe for GuaranteedStopLossOrderMutability
impl Send for GuaranteedStopLossOrderMutability
impl Sync for GuaranteedStopLossOrderMutability
impl Unpin for GuaranteedStopLossOrderMutability
impl UnsafeUnpin for GuaranteedStopLossOrderMutability
impl UnwindSafe for GuaranteedStopLossOrderMutability
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