pub struct Order {
pub order_id: String,
pub market: String,
pub side: String,
pub order_type: String,
pub price: Option<String>,
pub size: String,
pub filled: String,
pub status: String,
pub created_at: Option<i64>,
pub updated_at: Option<i64>,
}Expand description
Order information
Fields§
§order_id: String§market: String§side: String§order_type: String§price: Option<String>§size: String§filled: String§status: String§created_at: Option<i64>§updated_at: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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 Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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