pub struct ResolvedInventoryEntry {
pub quantity: i32,
pub pid: i32,
pub name: Option<String>,
pub base_weight: Option<i32>,
pub item_type: Option<i32>,
}Fields§
§quantity: i32§pid: i32§name: Option<String>§base_weight: Option<i32>§item_type: Option<i32>Trait Implementations§
Source§impl Clone for ResolvedInventoryEntry
impl Clone for ResolvedInventoryEntry
Source§fn clone(&self) -> ResolvedInventoryEntry
fn clone(&self) -> ResolvedInventoryEntry
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 ResolvedInventoryEntry
impl Debug for ResolvedInventoryEntry
Source§impl<'de> Deserialize<'de> for ResolvedInventoryEntry
impl<'de> Deserialize<'de> for ResolvedInventoryEntry
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 ResolvedInventoryEntry
impl PartialEq for ResolvedInventoryEntry
Source§impl Serialize for ResolvedInventoryEntry
impl Serialize for ResolvedInventoryEntry
impl Eq for ResolvedInventoryEntry
impl StructuralPartialEq for ResolvedInventoryEntry
Auto Trait Implementations§
impl Freeze for ResolvedInventoryEntry
impl RefUnwindSafe for ResolvedInventoryEntry
impl Send for ResolvedInventoryEntry
impl Sync for ResolvedInventoryEntry
impl Unpin for ResolvedInventoryEntry
impl UnsafeUnpin for ResolvedInventoryEntry
impl UnwindSafe for ResolvedInventoryEntry
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