Skip to main content

OrderStatus

Enum OrderStatus 

#[repr(u8)]
pub enum OrderStatus { Filled = 0, PartiallyFilled = 1, Resting = 2, Cancelled = 3, Rejected = 4, }

Variants§

§

Filled = 0

§

PartiallyFilled = 1

§

Resting = 2

§

Cancelled = 3

§

Rejected = 4

Trait Implementations§

§

impl Clone for OrderStatus

§

fn clone(&self) -> OrderStatus

1.0.0 (const: )§

fn clone_from(&mut self, source: &Self)

§

impl Debug for OrderStatus

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

§

impl Hash for OrderStatus

§

fn hash<__H: Hasher>(&self, state: &mut __H)

1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

§

impl PartialEq for OrderStatus

§

fn eq(&self, other: &OrderStatus) -> bool

1.0.0 (const: )§

fn ne(&self, other: &Rhs) -> bool

§

impl TryFrom<u8> for OrderStatus

§

type Error = u8

§

fn try_from(value: u8) -> Result<Self, u8>

§

impl Copy for OrderStatus

§

impl Eq for OrderStatus

§

impl StructuralPartialEq for OrderStatus

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

§

fn to_owned(&self) -> T

§

fn clone_into(&self, target: &mut T)

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>