pub struct DropItemsEvent {
pub name: Item,
pub name_localized: Option<String>,
pub kind: ItemCategory,
pub owner_id: u64,
pub count: u16,
}
Expand description
Fired when the player drops an Odyssey item.
Fields§
§name: Item
The item the player dropped.
name_localized: Option<String>
The localized name of the item the player dropped.
kind: ItemCategory
The kind of item the player dropped.
owner_id: u64
The owner of the dropped item.
count: u16
The number of items that were dropped.
Trait Implementations§
Source§impl Clone for DropItemsEvent
impl Clone for DropItemsEvent
Source§fn clone(&self) -> DropItemsEvent
fn clone(&self) -> DropItemsEvent
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 DropItemsEvent
impl Debug for DropItemsEvent
Source§impl<'de> Deserialize<'de> for DropItemsEvent
impl<'de> Deserialize<'de> for DropItemsEvent
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 DropItemsEvent
impl PartialEq for DropItemsEvent
Source§impl Serialize for DropItemsEvent
impl Serialize for DropItemsEvent
impl StructuralPartialEq for DropItemsEvent
Auto Trait Implementations§
impl Freeze for DropItemsEvent
impl RefUnwindSafe for DropItemsEvent
impl Send for DropItemsEvent
impl Sync for DropItemsEvent
impl Unpin for DropItemsEvent
impl UnwindSafe for DropItemsEvent
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