pub struct AddOrderDescription {
pub order: String,
pub close: Option<String>,
}
Expand description
English description of an added order and closing order instruction (if given)
Such as “buy 5.00000000 USDCUSD @ limit 1.0000”
Fields§
§order: String
§close: Option<String>
Trait Implementations§
Source§impl Clone for AddOrderDescription
impl Clone for AddOrderDescription
Source§fn clone(&self) -> AddOrderDescription
fn clone(&self) -> AddOrderDescription
Returns a copy 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 AddOrderDescription
impl Debug for AddOrderDescription
Source§impl<'de> Deserialize<'de> for AddOrderDescription
impl<'de> Deserialize<'de> for AddOrderDescription
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 AddOrderDescription
impl PartialEq for AddOrderDescription
impl StructuralPartialEq for AddOrderDescription
Auto Trait Implementations§
impl Freeze for AddOrderDescription
impl RefUnwindSafe for AddOrderDescription
impl Send for AddOrderDescription
impl Sync for AddOrderDescription
impl Unpin for AddOrderDescription
impl UnwindSafe for AddOrderDescription
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