pub struct MissionAcceptedEvent {Show 26 fields
pub name: MissionType,
pub localized_name: Option<String>,
pub faction: String,
pub mission_id: u64,
pub influence: String,
pub reputation: String,
pub reward: Option<u64>,
pub wing: bool,
pub commodity: Option<MixedCommodity>,
pub count: Option<u16>,
pub donation: Option<String>,
pub donated: Option<u64>,
pub target: Option<String>,
pub target_type: Option<String>,
pub target_faction: Option<String>,
pub kill_count: Option<u8>,
pub expiry: Option<String>,
pub destination_system: Option<String>,
pub destination_station: Option<String>,
pub destination_settlement: Option<String>,
pub new_destination_system: Option<String>,
pub new_destination_station: Option<String>,
pub passenger_count: Option<u8>,
pub passenger_vips: Option<bool>,
pub passenger_wanted: Option<bool>,
pub passenger_type: Option<String>,
}
Expand description
Fired when the player takes on a new mission.
Fields§
§name: MissionType
The kind of mission that was accepted.
localized_name: Option<String>
The localized name of the accepted mission.
faction: String
§mission_id: u64
§influence: String
§reputation: String
§reward: Option<u64>
§wing: bool
§commodity: Option<MixedCommodity>
§count: Option<u16>
§donation: Option<String>
§donated: Option<u64>
§target: Option<String>
§target_type: Option<String>
§target_faction: Option<String>
§kill_count: Option<u8>
§expiry: Option<String>
§destination_system: Option<String>
§destination_station: Option<String>
§destination_settlement: Option<String>
§new_destination_system: Option<String>
§new_destination_station: Option<String>
§passenger_count: Option<u8>
§passenger_vips: Option<bool>
§passenger_wanted: Option<bool>
§passenger_type: Option<String>
Trait Implementations§
Source§impl Clone for MissionAcceptedEvent
impl Clone for MissionAcceptedEvent
Source§fn clone(&self) -> MissionAcceptedEvent
fn clone(&self) -> MissionAcceptedEvent
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 MissionAcceptedEvent
impl Debug for MissionAcceptedEvent
Source§impl<'de> Deserialize<'de> for MissionAcceptedEvent
impl<'de> Deserialize<'de> for MissionAcceptedEvent
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 MissionAcceptedEvent
impl PartialEq for MissionAcceptedEvent
Source§impl Serialize for MissionAcceptedEvent
impl Serialize for MissionAcceptedEvent
impl StructuralPartialEq for MissionAcceptedEvent
Auto Trait Implementations§
impl Freeze for MissionAcceptedEvent
impl RefUnwindSafe for MissionAcceptedEvent
impl Send for MissionAcceptedEvent
impl Sync for MissionAcceptedEvent
impl Unpin for MissionAcceptedEvent
impl UnwindSafe for MissionAcceptedEvent
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