pub struct OrderFlagsPatch {
pub post_only: Option<bool>,
pub time_in_force: Option<TimeInForce>,
}Expand description
Represents the patch to the flags of an order
Fields§
§post_only: Option<bool>The new post-only flag
time_in_force: Option<TimeInForce>The new time in force of the order
Implementations§
Trait Implementations§
Source§impl Clone for OrderFlagsPatch
impl Clone for OrderFlagsPatch
Source§fn clone(&self) -> OrderFlagsPatch
fn clone(&self) -> OrderFlagsPatch
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 OrderFlagsPatch
impl Debug for OrderFlagsPatch
Source§impl Default for OrderFlagsPatch
impl Default for OrderFlagsPatch
Source§fn default() -> OrderFlagsPatch
fn default() -> OrderFlagsPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderFlagsPatch
impl<'de> Deserialize<'de> for OrderFlagsPatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OrderFlagsPatch
impl PartialEq for OrderFlagsPatch
Source§impl Serialize for OrderFlagsPatch
impl Serialize for OrderFlagsPatch
impl Eq for OrderFlagsPatch
impl StructuralPartialEq for OrderFlagsPatch
Auto Trait Implementations§
impl Freeze for OrderFlagsPatch
impl RefUnwindSafe for OrderFlagsPatch
impl Send for OrderFlagsPatch
impl Sync for OrderFlagsPatch
impl Unpin for OrderFlagsPatch
impl UnsafeUnpin for OrderFlagsPatch
impl UnwindSafe for OrderFlagsPatch
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