pub struct BackpackChangeEvent {
pub added: Vec<BackpackChangeEventItem>,
pub removed: Vec<BackpackChangeEventItem>,
}
Expand description
Fired when there is a change in the player’s (odyssey) backpack.
Fields§
§added: Vec<BackpackChangeEventItem>
List of items which have been added to the player’s backpack.
removed: Vec<BackpackChangeEventItem>
List of items which have been removed from the player’s backpack.
Trait Implementations§
Source§impl Clone for BackpackChangeEvent
impl Clone for BackpackChangeEvent
Source§fn clone(&self) -> BackpackChangeEvent
fn clone(&self) -> BackpackChangeEvent
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 BackpackChangeEvent
impl Debug for BackpackChangeEvent
Source§impl<'de> Deserialize<'de> for BackpackChangeEvent
impl<'de> Deserialize<'de> for BackpackChangeEvent
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 BackpackChangeEvent
impl PartialEq for BackpackChangeEvent
Source§impl Serialize for BackpackChangeEvent
impl Serialize for BackpackChangeEvent
impl StructuralPartialEq for BackpackChangeEvent
Auto Trait Implementations§
impl Freeze for BackpackChangeEvent
impl RefUnwindSafe for BackpackChangeEvent
impl Send for BackpackChangeEvent
impl Sync for BackpackChangeEvent
impl Unpin for BackpackChangeEvent
impl UnwindSafe for BackpackChangeEvent
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