pub struct OrderTimeInForce {
pub duration: Duration,
pub expiration: Option<String>,
}Expand description
Defines the duration and expiration of an Order.
Fields§
§duration: DurationThe duration type for the order.
expiration: Option<String>The expiration timestamp for the order.
Trait Implementations§
Source§impl Clone for OrderTimeInForce
impl Clone for OrderTimeInForce
Source§fn clone(&self) -> OrderTimeInForce
fn clone(&self) -> OrderTimeInForce
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 OrderTimeInForce
impl Debug for OrderTimeInForce
Source§impl<'de> Deserialize<'de> for OrderTimeInForce
impl<'de> Deserialize<'de> for OrderTimeInForce
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
Auto Trait Implementations§
impl Freeze for OrderTimeInForce
impl RefUnwindSafe for OrderTimeInForce
impl Send for OrderTimeInForce
impl Sync for OrderTimeInForce
impl Unpin for OrderTimeInForce
impl UnwindSafe for OrderTimeInForce
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