pub struct EnrichedTalent {Show 13 fields
pub node_id: i32,
pub trait_node_entry_id: i32,
pub spell_id: i32,
pub override_spell_id: i32,
pub replaces_spell_id: i32,
pub name: String,
pub ranks: i32,
pub max_ranks: i32,
pub tree_index: i32,
pub sub_tree_id: i32,
pub tree_section: String,
pub choice_index: Option<u8>,
pub effect_overrides: Vec<EnrichedTalentEffectOverride>,
}Expand description
A single resolved talent with spell info and tree classification.
Fields§
§node_id: i32§trait_node_entry_id: i32§spell_id: i32§override_spell_id: i32TraitDefinition.VisibleSpellID: the spell spell_id is displayed and activated as in-game.
replaces_spell_id: i32TraitDefinition.OverridesSpellID: the learned talent replaces this spell on the action bar.
name: String§ranks: i32§max_ranks: i32§tree_index: i32§sub_tree_id: i32§tree_section: String§choice_index: Option<u8>§effect_overrides: Vec<EnrichedTalentEffectOverride>Trait Implementations§
Source§impl Clone for EnrichedTalent
impl Clone for EnrichedTalent
Source§fn clone(&self) -> EnrichedTalent
fn clone(&self) -> EnrichedTalent
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 EnrichedTalent
impl Debug for EnrichedTalent
Source§impl JsonSchema for EnrichedTalent
impl JsonSchema for EnrichedTalent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EnrichedTalent
impl RefUnwindSafe for EnrichedTalent
impl Send for EnrichedTalent
impl Sync for EnrichedTalent
impl Unpin for EnrichedTalent
impl UnsafeUnpin for EnrichedTalent
impl UnwindSafe for EnrichedTalent
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