pub struct Product {Show 16 fields
pub id: String,
pub display_name: String,
pub base_currency: String,
pub quote_currency: String,
pub base_increment: String,
pub quote_increment: String,
pub base_min_size: String,
pub base_max_size: String,
pub min_market_funds: String,
pub max_market_funds: String,
pub status: String,
pub status_message: String,
pub cancel_only: bool,
pub limit_only: bool,
pub post_only: bool,
pub trading_disabled: bool,
}Expand description
A structure that represents a product
Fields§
§id: String§display_name: String§base_currency: String§quote_currency: String§base_increment: String§quote_increment: String§base_min_size: String§base_max_size: String§min_market_funds: String§max_market_funds: String§status: String§status_message: String§cancel_only: bool§limit_only: bool§post_only: bool§trading_disabled: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Product
impl<'de> Deserialize<'de> for Product
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 Product
impl RefUnwindSafe for Product
impl Send for Product
impl Sync for Product
impl Unpin for Product
impl UnwindSafe for Product
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