pub struct BackpackEntry {
pub name: Item,
pub name_localized: Option<String>,
pub owner_id: u64,
pub count: u16,
}Fields§
§name: Item§name_localized: Option<String>§owner_id: u64§count: u16Trait Implementations§
Source§impl Clone for BackpackEntry
impl Clone for BackpackEntry
Source§fn clone(&self) -> BackpackEntry
fn clone(&self) -> BackpackEntry
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 BackpackEntry
impl Debug for BackpackEntry
Source§impl<'de> Deserialize<'de> for BackpackEntry
impl<'de> Deserialize<'de> for BackpackEntry
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 BackpackEntry
impl PartialEq for BackpackEntry
Source§fn eq(&self, other: &BackpackEntry) -> bool
fn eq(&self, other: &BackpackEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BackpackEntry
impl Serialize for BackpackEntry
impl StructuralPartialEq for BackpackEntry
Auto Trait Implementations§
impl Freeze for BackpackEntry
impl RefUnwindSafe for BackpackEntry
impl Send for BackpackEntry
impl Sync for BackpackEntry
impl Unpin for BackpackEntry
impl UnsafeUnpin for BackpackEntry
impl UnwindSafe for BackpackEntry
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