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