[−][src]Struct df_st_core::df_world::artifact::Artifact
An Artifact is valuable or remarkable object in the world.
Fields
id: i32
Identifier for the artifact.
id
must be unique for the whole world.
name: Option<String>
site_id: Option<i32>
structure_local_id: Option<i32>
holder_hfid: Option<i32>
abs_tile_x: Option<i32>
abs_tile_y: Option<i32>
abs_tile_z: Option<i32>
subregion_id: Option<i32>
item_name: Option<String>
item_type: Option<String>
item_subtype: Option<String>
item_writing: Option<i32>
item_page_number: Option<i32>
item_page_written_content_id: Option<i32>
item_writing_written_content_id: Option<i32>
item_description: Option<String>
item_mat: Option<String>
Implementations
impl Artifact
[src]
Trait Implementations
impl Clone for Artifact
[src]
impl Debug for Artifact
[src]
impl Default for Artifact
[src]
impl<'de> Deserialize<'de> for Artifact
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Fillable for Artifact
[src]
impl Filler<Artifact, Artifact> for Artifact
[src]
fn add_missing_data(&mut self, source: &Artifact)
[src]
fn never_replace_data(&mut self, source: &Artifact)
[src]
fn replace_data(&mut self, source: &Artifact)
[src]
fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
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 Artifact 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
fn name(_: &Self::TypeInfo) -> Option<&str>
[src]
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>,
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>
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
[src]
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>>
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 Artifact
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JsonSchema for Artifact
[src]
fn schema_name() -> String
[src]
fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
fn is_referenceable() -> bool
impl PartialEq<Artifact> for Artifact
[src]
impl SchemaExample for Artifact
[src]
impl Serialize for Artifact
[src]
Auto Trait Implementations
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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,
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,