pub enum ExecuteSide {
Buy,
Sell,
}Expand description
Direction of an /execute request. Wire format is the lowercase
variant name via serde(rename_all = "lowercase"); see
Self::as_wire for a stable string helper used by the doctor
row + the (paper) suffix renderer.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExecuteSide
impl Clone for ExecuteSide
Source§fn clone(&self) -> ExecuteSide
fn clone(&self) -> ExecuteSide
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 ExecuteSide
impl Debug for ExecuteSide
Source§impl<'de> Deserialize<'de> for ExecuteSide
impl<'de> Deserialize<'de> for ExecuteSide
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 ExecuteSide
impl PartialEq for ExecuteSide
Source§impl Serialize for ExecuteSide
impl Serialize for ExecuteSide
impl Copy for ExecuteSide
impl Eq for ExecuteSide
impl StructuralPartialEq for ExecuteSide
Auto Trait Implementations§
impl Freeze for ExecuteSide
impl RefUnwindSafe for ExecuteSide
impl Send for ExecuteSide
impl Sync for ExecuteSide
impl Unpin for ExecuteSide
impl UnsafeUnpin for ExecuteSide
impl UnwindSafe for ExecuteSide
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