pub struct ShallowItem {
pub name: Option<String>,
pub unique_name: Option<String>,
pub description: Option<String>,
pub type: Option<String>,
pub tradable: Option<bool>,
pub category: Option<String>,
pub product_category: Option<String>,
}Fields§
§name: Option<String>§unique_name: Option<String>§description: Option<String>§type: Option<String>§tradable: Option<bool>§category: Option<String>§product_category: Option<String>Implementations§
Source§impl ShallowItem
impl ShallowItem
pub fn new() -> ShallowItem
Trait Implementations§
Source§impl Clone for ShallowItem
impl Clone for ShallowItem
Source§fn clone(&self) -> ShallowItem
fn clone(&self) -> ShallowItem
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 ShallowItem
impl Debug for ShallowItem
Source§impl Default for ShallowItem
impl Default for ShallowItem
Source§fn default() -> ShallowItem
fn default() -> ShallowItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShallowItem
impl<'de> Deserialize<'de> for ShallowItem
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
Source§impl PartialEq for ShallowItem
impl PartialEq for ShallowItem
Source§impl Serialize for ShallowItem
impl Serialize for ShallowItem
impl StructuralPartialEq for ShallowItem
Auto Trait Implementations§
impl Freeze for ShallowItem
impl RefUnwindSafe for ShallowItem
impl Send for ShallowItem
impl Sync for ShallowItem
impl Unpin for ShallowItem
impl UnwindSafe for ShallowItem
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