pub struct MissionAbandonedEvent {
pub name: MissionType,
pub mission_id: u64,
}
Expand description
Fired when the player abandons a mission.
Fields§
§name: MissionType
The kind of mission the player abandoned.
mission_id: u64
The id of the mission the player abandoned.
Trait Implementations§
Source§impl Clone for MissionAbandonedEvent
impl Clone for MissionAbandonedEvent
Source§fn clone(&self) -> MissionAbandonedEvent
fn clone(&self) -> MissionAbandonedEvent
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 MissionAbandonedEvent
impl Debug for MissionAbandonedEvent
Source§impl<'de> Deserialize<'de> for MissionAbandonedEvent
impl<'de> Deserialize<'de> for MissionAbandonedEvent
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 MissionAbandonedEvent
impl PartialEq for MissionAbandonedEvent
Source§impl Serialize for MissionAbandonedEvent
impl Serialize for MissionAbandonedEvent
impl StructuralPartialEq for MissionAbandonedEvent
Auto Trait Implementations§
impl Freeze for MissionAbandonedEvent
impl RefUnwindSafe for MissionAbandonedEvent
impl Send for MissionAbandonedEvent
impl Sync for MissionAbandonedEvent
impl Unpin for MissionAbandonedEvent
impl UnwindSafe for MissionAbandonedEvent
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