[][src]Struct df_st_core::df_world::historical_figure::HistoricalFigure

pub struct HistoricalFigure {
    pub id: i32,
    pub name: Option<String>,
    pub race: Option<String>,
    pub race_id: Option<String>,
    pub caste: Option<String>,
    pub appeared: Option<i32>,
    pub birth_year: Option<i32>,
    pub birth_seconds72: Option<i32>,
    pub death_year: Option<i32>,
    pub death_seconds72: Option<i32>,
    pub associated_type: Option<String>,
    pub entity_link: Vec<HFEntityLink>,
    pub entity_position_link: Vec<HFEntityPositionLink>,
    pub site_link: Vec<HFSiteLink>,
    pub sphere: Vec<String>,
    pub interaction_knowledge: Vec<String>,
    pub deity: Option<String>,
    pub journey_pet: Vec<String>,
    pub goal: Option<String>,
    pub relationship_profile_hf: Vec<HFRelationshipProfileHF>,
    pub intrigue_actor: Vec<HFIntrigueActor>,
    pub intrigue_plot: Vec<HFIntriguePlot>,
    pub ent_pop_id: Option<i32>,
    pub entity_reputation: Vec<HFEntityReputation>,
    pub vague_relationship: Vec<HFVagueRelationship>,
    pub active_interaction: Option<String>,
    pub force: Option<bool>,
    pub current_identity_id: Option<i32>,
    pub entity_squad_link: Vec<HFEntitySquadLink>,
    pub holds_artifact: Option<i32>,
    pub honor_entity: Vec<HFHonorEntity>,
    pub site_property: Vec<HFSiteProperty>,
    pub used_identity_id: Option<i32>,
    pub animated: Option<bool>,
    pub animated_string: Option<String>,
    pub adventurer: Option<bool>,
    pub skills: Vec<HFSkill>,
    pub links: Vec<HFLink>,
}

A notable figure that lived in the world. Not all characters that live in the world are notable. They have to have done or encountered something that made them notable.

Fields

id: i32

Identifier for the historical figure. id must be unique for the whole world. This id is often referred to as hfid.

name: Option<String>race: Option<String>race_id: Option<String>caste: Option<String>

The gender or sex of the figure. Possible values: female, male, default.

appeared: Option<i32>birth_year: Option<i32>birth_seconds72: Option<i32>death_year: Option<i32>death_seconds72: Option<i32>associated_type: Option<String>entity_link: Vec<HFEntityLink>entity_position_link: Vec<HFEntityPositionLink>site_link: Vec<HFSiteLink>sphere: Vec<String>interaction_knowledge: Vec<String>deity: Option<String>journey_pet: Vec<String>goal: Option<String>relationship_profile_hf: Vec<HFRelationshipProfileHF>intrigue_actor: Vec<HFIntrigueActor>intrigue_plot: Vec<HFIntriguePlot>ent_pop_id: Option<i32>entity_reputation: Vec<HFEntityReputation>vague_relationship: Vec<HFVagueRelationship>active_interaction: Option<String>force: Option<bool>current_identity_id: Option<i32>entity_squad_link: Vec<HFEntitySquadLink>holds_artifact: Option<i32>honor_entity: Vec<HFHonorEntity>site_property: Vec<HFSiteProperty>used_identity_id: Option<i32>animated: Option<bool>animated_string: Option<String>adventurer: Option<bool>

Describes if the HistoricalFigure was played in adventure mode. ( Since = "0.2.0" )

skills: Vec<HFSkill>links: Vec<HFLink>

Implementations

impl HistoricalFigure[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for HistoricalFigure[src]

impl Debug for HistoricalFigure[src]

impl Default for HistoricalFigure[src]

impl<'de> Deserialize<'de> for HistoricalFigure[src]

impl Fillable for HistoricalFigure[src]

impl Filler<HistoricalFigure, HistoricalFigure> for HistoricalFigure[src]

impl<__S> GraphQLType<__S> for HistoricalFigure where
    __S: ScalarValue,
    &'__b __S: ScalarRefValue<'__b>, 
[src]

type Context = ()

The expected context type for this GraphQL type Read more

type TypeInfo = ()

Type that may carry additional schema information Read more

impl Hash for HistoricalFigure[src]

impl JsonSchema for HistoricalFigure[src]

impl PartialEq<HistoricalFigure> for HistoricalFigure[src]

impl SchemaExample for HistoricalFigure[src]

impl Serialize for HistoricalFigure[src]

Auto Trait Implementations

impl RefUnwindSafe for HistoricalFigure

impl Send for HistoricalFigure

impl Sync for HistoricalFigure

impl Unpin for HistoricalFigure

impl UnwindSafe for HistoricalFigure

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.