pub struct BackpackEvent {
pub items: Vec<BackpackEventObject>,
pub components: Vec<BackpackEventObject>,
pub consumables: Vec<BackpackEventObject>,
pub data: Vec<BackpackEventObject>,
}
Expand description
Fired when the backpack.json file is updated.
Fields§
§items: Vec<BackpackEventObject>
The items the player currently has in their backpack.
components: Vec<BackpackEventObject>
The components the player currently has in their backpack.
consumables: Vec<BackpackEventObject>
The consumables the player currently has in their backpack.
data: Vec<BackpackEventObject>
The data the player currently has in their backpack.
Trait Implementations§
Source§impl Clone for BackpackEvent
impl Clone for BackpackEvent
Source§fn clone(&self) -> BackpackEvent
fn clone(&self) -> BackpackEvent
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 BackpackEvent
impl Debug for BackpackEvent
Source§impl<'de> Deserialize<'de> for BackpackEvent
impl<'de> Deserialize<'de> for BackpackEvent
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 BackpackEvent
impl PartialEq for BackpackEvent
Source§impl Serialize for BackpackEvent
impl Serialize for BackpackEvent
impl StructuralPartialEq for BackpackEvent
Auto Trait Implementations§
impl Freeze for BackpackEvent
impl RefUnwindSafe for BackpackEvent
impl Send for BackpackEvent
impl Sync for BackpackEvent
impl Unpin for BackpackEvent
impl UnwindSafe for BackpackEvent
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