pub struct BazaarProduct {
pub product_id: String,
pub sell_summary: Vec<BazaarOrder>,
pub buy_summary: Vec<BazaarOrder>,
pub quick_status: Option<BazaarQuickStatus>,
}Expand description
A single product’s order book within the Bazaar.
Fields§
§product_id: String§sell_summary: Vec<BazaarOrder>§buy_summary: Vec<BazaarOrder>§quick_status: Option<BazaarQuickStatus>Trait Implementations§
Source§impl Clone for BazaarProduct
impl Clone for BazaarProduct
Source§fn clone(&self) -> BazaarProduct
fn clone(&self) -> BazaarProduct
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BazaarProduct
impl Debug for BazaarProduct
Source§impl<'de> Deserialize<'de> for BazaarProduct
impl<'de> Deserialize<'de> for BazaarProduct
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 BazaarProduct
impl RefUnwindSafe for BazaarProduct
impl Send for BazaarProduct
impl Sync for BazaarProduct
impl Unpin for BazaarProduct
impl UnsafeUnpin for BazaarProduct
impl UnwindSafe for BazaarProduct
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