pub struct SimConfigIntent {
pub intent_version: String,
pub spec: u32,
pub rotation_id: String,
pub loadout: Option<String>,
pub expansion_talents: BTreeMap<String, Vec<String>>,
pub player_level: u16,
pub player_expansion_id: u32,
pub encounter: EncounterDefinition,
pub settings: BTreeMap<String, Value>,
pub gear: Vec<GearEntry>,
}Expand description
Versioned TOML form of the sim intent shipped to the engine.
Fields§
§intent_version: String§spec: u32§rotation_id: String§loadout: Option<String>§expansion_talents: BTreeMap<String, Vec<String>>Named expansion progression systems and their selected trait entry slugs.
player_level: u16§player_expansion_id: u32§encounter: EncounterDefinition§settings: BTreeMap<String, Value>§gear: Vec<GearEntry>Implementations§
Trait Implementations§
Source§impl Clone for SimConfigIntent
impl Clone for SimConfigIntent
Source§fn clone(&self) -> SimConfigIntent
fn clone(&self) -> SimConfigIntent
Returns a duplicate 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 SimConfigIntent
impl Debug for SimConfigIntent
Source§impl<'de> Deserialize<'de> for SimConfigIntent
impl<'de> Deserialize<'de> for SimConfigIntent
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 SimConfigIntent
impl PartialEq for SimConfigIntent
Source§impl Serialize for SimConfigIntent
impl Serialize for SimConfigIntent
impl StructuralPartialEq for SimConfigIntent
Auto Trait Implementations§
impl Freeze for SimConfigIntent
impl RefUnwindSafe for SimConfigIntent
impl Send for SimConfigIntent
impl Sync for SimConfigIntent
impl Unpin for SimConfigIntent
impl UnsafeUnpin for SimConfigIntent
impl UnwindSafe for SimConfigIntent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more