pub struct Mission {Show 20 fields
pub reward: Reward,
pub node: String,
pub node_key: String,
pub faction: String,
pub faction_key: Faction,
pub min_enemy_level: i32,
pub max_enemy_level: i32,
pub max_wave_num: Option<i32>,
pub type: String,
pub type_key: MissionType,
pub nightmare: bool,
pub archwing_required: bool,
pub is_sharkwing: bool,
pub enemy_spec: String,
pub level_override: String,
pub advanced_spawners: Vec<String>,
pub required_items: Vec<String>,
pub consume_required_items: Option<bool>,
pub level_auras: Vec<String>,
pub description: Option<String>,
}Expand description
A mission
Fields§
§reward: RewardThe reward of this mission
node: StringThe i18n of the node
node_key: StringThe name of the node
faction: StringThe i18n faction you are up against
faction_key: FactionThe faction you are up against
min_enemy_level: i32The minimum level of the enemy
max_enemy_level: i32The maximum level of the enemy
max_wave_num: Option<i32>The maximum wave you can get to
type: StringThe i18n type of the mission
type_key: MissionTypeThe type of the mission
nightmare: boolWhether the mission is a nightmare mission
archwing_required: boolWhether the mission requires an archwing
is_sharkwing: boolWhether the mission is a sharkwing mission
enemy_spec: StringThe enemy spec
level_override: StringAny level override
advanced_spawners: Vec<String>Any additional spawners
required_items: Vec<String>Items required to enter the mission
consume_required_items: Option<bool>Whether the required items are consumed
level_auras: Vec<String>Affectors of this mission
description: Option<String>Description of the mission
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mission
impl<'de> Deserialize<'de> for Mission
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
impl StructuralPartialEq for Mission
Auto Trait Implementations§
impl Freeze for Mission
impl RefUnwindSafe for Mission
impl Send for Mission
impl Sync for Mission
impl Unpin for Mission
impl UnwindSafe for Mission
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