[][src]Struct df_st_core::df_world::creature::Creature

pub struct Creature {
    pub id: i32,
    pub creature_id: Option<String>,
    pub name_singular: Option<String>,
    pub name_plural: Option<String>,
    pub biomes: CreatureBiome,
    pub all_castes_alive: Option<bool>,
    pub artificial_hiveable: Option<bool>,
    pub does_not_exist: Option<bool>,
    pub equipment: Option<bool>,
    pub equipment_wagon: Option<bool>,
    pub evil: Option<bool>,
    pub fanciful: Option<bool>,
    pub generated: Option<bool>,
    pub good: Option<bool>,
    pub has_any_benign: Option<bool>,
    pub has_any_can_swim: Option<bool>,
    pub has_any_cannot_breathe_air: Option<bool>,
    pub has_any_cannot_breathe_water: Option<bool>,
    pub has_any_carnivore: Option<bool>,
    pub has_any_common_domestic: Option<bool>,
    pub has_any_curious_beast: Option<bool>,
    pub has_any_demon: Option<bool>,
    pub has_any_feature_beast: Option<bool>,
    pub has_any_flier: Option<bool>,
    pub has_any_fly_race_gait: Option<bool>,
    pub has_any_grasp: Option<bool>,
    pub has_any_grazer: Option<bool>,
    pub has_any_has_blood: Option<bool>,
    pub has_any_immobile: Option<bool>,
    pub has_any_intelligent_learns: Option<bool>,
    pub has_any_intelligent_speaks: Option<bool>,
    pub has_any_large_predator: Option<bool>,
    pub has_any_local_pops_controllable: Option<bool>,
    pub has_any_local_pops_produce_heroes: Option<bool>,
    pub has_any_megabeast: Option<bool>,
    pub has_any_mischievous: Option<bool>,
    pub has_any_natural_animal: Option<bool>,
    pub has_any_night_creature: Option<bool>,
    pub has_any_night_creature_bogeyman: Option<bool>,
    pub has_any_night_creature_experimenter: Option<bool>,
    pub has_any_night_creature_hunter: Option<bool>,
    pub has_any_night_creature_nightmare: Option<bool>,
    pub has_any_not_fireimmune: Option<bool>,
    pub has_any_not_flier: Option<bool>,
    pub has_any_not_living: Option<bool>,
    pub has_any_outsider_controllable: Option<bool>,
    pub has_any_power: Option<bool>,
    pub has_any_race_gait: Option<bool>,
    pub has_any_semimegabeast: Option<bool>,
    pub has_any_slow_learner: Option<bool>,
    pub has_any_supernatural: Option<bool>,
    pub has_any_titan: Option<bool>,
    pub has_any_unique_demon: Option<bool>,
    pub has_any_utterances: Option<bool>,
    pub has_any_vermin_hateable: Option<bool>,
    pub has_any_vermin_micro: Option<bool>,
    pub has_female: Option<bool>,
    pub has_male: Option<bool>,
    pub large_roaming: Option<bool>,
    pub loose_clusters: Option<bool>,
    pub mates_to_breed: Option<bool>,
    pub mundane: Option<bool>,
    pub occurs_as_entity_race: Option<bool>,
    pub savage: Option<bool>,
    pub small_race: Option<bool>,
    pub two_genders: Option<bool>,
    pub ubiquitous: Option<bool>,
    pub vermin_eater: Option<bool>,
    pub vermin_fish: Option<bool>,
    pub vermin_grounder: Option<bool>,
    pub vermin_rotter: Option<bool>,
    pub vermin_soil: Option<bool>,
    pub vermin_soil_colony: Option<bool>,
}

A Creature is a species that can exist in the world.

Fields

id: i32

Identifier for the creature. id must be unique for the whole world. This value is not given from files but generated after parsing.

creature_id: Option<String>name_singular: Option<String>name_plural: Option<String>biomes: CreatureBiome

The Biomes the creature will appear in.

all_castes_alive: Option<bool>artificial_hiveable: Option<bool>does_not_exist: Option<bool>equipment: Option<bool>equipment_wagon: Option<bool>evil: Option<bool>fanciful: Option<bool>generated: Option<bool>good: Option<bool>has_any_benign: Option<bool>has_any_can_swim: Option<bool>has_any_cannot_breathe_air: Option<bool>has_any_cannot_breathe_water: Option<bool>has_any_carnivore: Option<bool>has_any_common_domestic: Option<bool>has_any_curious_beast: Option<bool>has_any_demon: Option<bool>has_any_feature_beast: Option<bool>has_any_flier: Option<bool>has_any_fly_race_gait: Option<bool>has_any_grasp: Option<bool>has_any_grazer: Option<bool>has_any_has_blood: Option<bool>has_any_immobile: Option<bool>has_any_intelligent_learns: Option<bool>has_any_intelligent_speaks: Option<bool>has_any_large_predator: Option<bool>has_any_local_pops_controllable: Option<bool>has_any_local_pops_produce_heroes: Option<bool>has_any_megabeast: Option<bool>has_any_mischievous: Option<bool>has_any_natural_animal: Option<bool>has_any_night_creature: Option<bool>has_any_night_creature_bogeyman: Option<bool>has_any_night_creature_experimenter: Option<bool>has_any_night_creature_hunter: Option<bool>has_any_night_creature_nightmare: Option<bool>has_any_not_fireimmune: Option<bool>has_any_not_flier: Option<bool>has_any_not_living: Option<bool>has_any_outsider_controllable: Option<bool>has_any_power: Option<bool>has_any_race_gait: Option<bool>has_any_semimegabeast: Option<bool>has_any_slow_learner: Option<bool>has_any_supernatural: Option<bool>has_any_titan: Option<bool>has_any_unique_demon: Option<bool>has_any_utterances: Option<bool>has_any_vermin_hateable: Option<bool>has_any_vermin_micro: Option<bool>has_female: Option<bool>has_male: Option<bool>large_roaming: Option<bool>loose_clusters: Option<bool>mates_to_breed: Option<bool>mundane: Option<bool>occurs_as_entity_race: Option<bool>savage: Option<bool>small_race: Option<bool>two_genders: Option<bool>ubiquitous: Option<bool>vermin_eater: Option<bool>vermin_fish: Option<bool>vermin_grounder: Option<bool>vermin_rotter: Option<bool>vermin_soil: Option<bool>vermin_soil_colony: Option<bool>

Implementations

impl Creature[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for Creature[src]

impl Debug for Creature[src]

impl Default for Creature[src]

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

impl Fillable for Creature[src]

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

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

impl JsonSchema for Creature[src]

impl PartialEq<Creature> for Creature[src]

impl SchemaExample for Creature[src]

impl Serialize for Creature[src]

Auto Trait Implementations

impl RefUnwindSafe for Creature

impl Send for Creature

impl Sync for Creature

impl Unpin for Creature

impl UnwindSafe for Creature

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.