pub struct BackpackEventObject {
pub name: Item,
pub name_localized: Option<String>,
pub owner_id: u64,
pub mission_id: Option<u64>,
pub count: u16,
}
Expand description
An item in the player’s backpack.
Fields§
§name: Item
The item that is stormed.
name_localized: Option<String>
The localized name of the item.
owner_id: u64
The ID of the owner of the item.
mission_id: Option<u64>
ID for the mission the item is related to, if any.
count: u16
The number of this kind of item.
Trait Implementations§
Source§impl Clone for BackpackEventObject
impl Clone for BackpackEventObject
Source§fn clone(&self) -> BackpackEventObject
fn clone(&self) -> BackpackEventObject
Returns a copy 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 BackpackEventObject
impl Debug for BackpackEventObject
Source§impl<'de> Deserialize<'de> for BackpackEventObject
impl<'de> Deserialize<'de> for BackpackEventObject
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 BackpackEventObject
impl PartialEq for BackpackEventObject
Source§impl Serialize for BackpackEventObject
impl Serialize for BackpackEventObject
impl StructuralPartialEq for BackpackEventObject
Auto Trait Implementations§
impl Freeze for BackpackEventObject
impl RefUnwindSafe for BackpackEventObject
impl Send for BackpackEventObject
impl Sync for BackpackEventObject
impl Unpin for BackpackEventObject
impl UnwindSafe for BackpackEventObject
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