[−][src]Struct df_st_core::df_world::identity::Identity
A (assumed) Identity in the world in the world. This identity is (usually) fake. (TODO: Check)
Fields
id: i32
Identifier for the assumed/fake identity.
id
must be unique for the whole world.
name: Option<String>
The name used for this identity
hf_id: Option<i32>
Link to the Historical Figure that uses this identity
race: Option<String>
The race of the new identity
caste: Option<String>
The gender of the new identity
birth_year: Option<i32>
The year this assumed/fake identity was presumably born in
birth_second: Option<i32>
The month/day this assumed/fake identity was presumably born in
profession: Option<String>
The profession/job the identity presumably has/is doing
entity_id: Option<i32>
The entity the identity is presumably part of
nemesis_id: Option<i32>
Might be referring to hf_id (TODO)
Trait Implementations
impl Clone for Identity
[src]
impl CreateNew for Identity
[src]
impl Debug for Identity
[src]
impl Default for Identity
[src]
impl<'de> Deserialize<'de> for Identity
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Fillable for Identity
[src]
impl Filler<Identity, Identity> for Identity
[src]
pub fn add_missing_data(&mut self, source: &Identity)
[src]
pub fn never_replace_data(&mut self, source: &Identity)
[src]
pub fn replace_data(&mut self, source: &Identity)
[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 Identity 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 Identity
[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 Identity
[src]
pub fn schema_name() -> String
[src]
pub fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
pub fn is_referenceable() -> bool
[src]
impl PartialEq<Identity> for Identity
[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 Identity
[src]
impl Serialize for Identity
[src]
Auto Trait Implementations
impl RefUnwindSafe for Identity
[src]
impl Send for Identity
[src]
impl Sync for Identity
[src]
impl Unpin for Identity
[src]
impl UnwindSafe for Identity
[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>,