pub struct MissionCompletedEvent {Show 14 fields
pub faction: String,
pub name: MissionType,
pub mission_id: u64,
pub target_faction: Option<String>,
pub destination_system: Option<String>,
pub destination_station: Option<String>,
pub destination_settlement: Option<String>,
pub donation: Option<String>,
pub donated: Option<u64>,
pub reward: Option<u64>,
pub permits_awarded: Vec<String>,
pub commodity_reward: Vec<MissionCompletedEventCommodityReward>,
pub materials_reward: Vec<MissionCompletedEventMaterialsReward>,
pub faction_effects: Vec<MissionCompletedEventFactionEffect>,
}
Fields§
§faction: String
§name: MissionType
§mission_id: u64
§target_faction: Option<String>
§destination_system: Option<String>
§destination_station: Option<String>
§destination_settlement: Option<String>
§donation: Option<String>
§donated: Option<u64>
§reward: Option<u64>
§permits_awarded: Vec<String>
§commodity_reward: Vec<MissionCompletedEventCommodityReward>
§materials_reward: Vec<MissionCompletedEventMaterialsReward>
§faction_effects: Vec<MissionCompletedEventFactionEffect>
Trait Implementations§
Source§impl Clone for MissionCompletedEvent
impl Clone for MissionCompletedEvent
Source§fn clone(&self) -> MissionCompletedEvent
fn clone(&self) -> MissionCompletedEvent
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 MissionCompletedEvent
impl Debug for MissionCompletedEvent
Source§impl<'de> Deserialize<'de> for MissionCompletedEvent
impl<'de> Deserialize<'de> for MissionCompletedEvent
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 MissionCompletedEvent
impl PartialEq for MissionCompletedEvent
Source§impl Serialize for MissionCompletedEvent
impl Serialize for MissionCompletedEvent
impl StructuralPartialEq for MissionCompletedEvent
Auto Trait Implementations§
impl Freeze for MissionCompletedEvent
impl RefUnwindSafe for MissionCompletedEvent
impl Send for MissionCompletedEvent
impl Sync for MissionCompletedEvent
impl Unpin for MissionCompletedEvent
impl UnwindSafe for MissionCompletedEvent
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