[−][src]Struct df_st_core::df_world::historical_figure::HistoricalFigure
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 hf_id
.
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>
Trait Implementations
impl Clone for HistoricalFigure
[src]
pub fn clone(&self) -> HistoricalFigure
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CreateNew for HistoricalFigure
[src]
impl Debug for HistoricalFigure
[src]
impl Default for HistoricalFigure
[src]
pub fn default() -> HistoricalFigure
[src]
impl<'de> Deserialize<'de> for HistoricalFigure
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Fillable for HistoricalFigure
[src]
impl Filler<HistoricalFigure, HistoricalFigure> for HistoricalFigure
[src]
pub fn add_missing_data(&mut self, source: &HistoricalFigure)
[src]
pub fn never_replace_data(&mut self, source: &HistoricalFigure)
[src]
pub fn replace_data(&mut self, source: &HistoricalFigure)
[src]
pub fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
pub fn check_mergeable(&self, source: &S) -> bool where
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
[src]
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
impl<__S> GraphQLType<__S> for HistoricalFigure where
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
[src]
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
type Context = ()
The expected context type for this GraphQL type Read more
type TypeInfo = ()
Type that may carry additional schema information Read more
pub fn name(_: &Self::TypeInfo) -> Option<&str>
[src]
pub fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
[src]
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
pub fn resolve_field(
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
[src]
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
pub fn concrete_type_name(
&self,
_: &Self::Context,
_: &Self::TypeInfo
) -> String
[src]
&self,
_: &Self::Context,
_: &Self::TypeInfo
) -> String
pub fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
[src]
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
pub fn resolve(
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
[src]
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
impl Hash for HistoricalFigure
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JsonSchema for HistoricalFigure
[src]
pub fn schema_name() -> String
[src]
pub fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
pub fn is_referenceable() -> bool
[src]
impl PartialEq<HistoricalFigure> for HistoricalFigure
[src]
pub fn eq(&self, other: &Self) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl SchemaExample for HistoricalFigure
[src]
impl Serialize for HistoricalFigure
[src]
Auto Trait Implementations
impl RefUnwindSafe for HistoricalFigure
[src]
impl Send for HistoricalFigure
[src]
impl Sync for HistoricalFigure
[src]
impl Unpin for HistoricalFigure
[src]
impl UnwindSafe for HistoricalFigure
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,