[][src]Struct df_st_core::df_world::artifact::Artifact

pub struct Artifact {
    pub id: i32,
    pub name: Option<String>,
    pub site_id: Option<i32>,
    pub structure_local_id: Option<i32>,
    pub holder_hfid: Option<i32>,
    pub abs_tile_x: Option<i32>,
    pub abs_tile_y: Option<i32>,
    pub abs_tile_z: Option<i32>,
    pub subregion_id: Option<i32>,
    pub item_name: Option<String>,
    pub item_type: Option<String>,
    pub item_subtype: Option<String>,
    pub item_writing: Option<i32>,
    pub item_page_number: Option<i32>,
    pub item_page_written_content_id: Option<i32>,
    pub item_writing_written_content_id: Option<i32>,
    pub item_description: Option<String>,
    pub item_mat: Option<String>,
}

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]

pub fn new() -> Self[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]

impl Fillable for Artifact[src]

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

impl<__S> GraphQLType<__S> for Artifact 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 Artifact[src]

impl JsonSchema for Artifact[src]

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]

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.