pub struct MarketItem {
pub name: String,
pub submarkets: Option<Vec<SubmarketItem>>,
}
Fields§
§name: String
Market name\n
submarkets: Option<Vec<SubmarketItem>>
An array of submarkets\n
Trait Implementations§
Source§impl Clone for MarketItem
impl Clone for MarketItem
Source§fn clone(&self) -> MarketItem
fn clone(&self) -> MarketItem
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 MarketItem
impl Debug for MarketItem
Source§impl<'de> Deserialize<'de> for MarketItem
impl<'de> Deserialize<'de> for MarketItem
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 MarketItem
impl RefUnwindSafe for MarketItem
impl Send for MarketItem
impl Sync for MarketItem
impl Unpin for MarketItem
impl UnwindSafe for MarketItem
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