[][src]Struct df_st_legends_plus::HistoricalEvent

pub struct HistoricalEvent {
    pub id: i32,
    pub type_: Option<String>,
    pub abuse_type: Option<String>,
    pub action: Option<String>,
    pub anon_3: Option<i32>,
    pub anon_4: Option<i32>,
    pub appointer_hfid: Option<i32>,
    pub art_id: Option<i32>,
    pub art_subid: Option<i32>,
    pub artifact: Option<i32>,
    pub artifact_id: Option<i32>,
    pub bodies: Option<Vec<i32>>,
    pub body_part: Option<i32>,
    pub builder_hf: Option<i32>,
    pub building_custom: Option<i32>,
    pub building_type: Option<String>,
    pub building_subtype: Option<String>,
    pub caste: Option<String>,
    pub changee: Option<i32>,
    pub changer: Option<i32>,
    pub circumstance: Option<Circumstance>,
    pub circumstance_id: Option<i32>,
    pub civ: Option<i32>,
    pub creation_event: Option<i32>,
    pub creator_hfid: Option<i32>,
    pub creator_unit_id: Option<i32>,
    pub death_cause: Option<String>,
    pub destination: Option<i32>,
    pub doer: Option<i32>,
    pub dye_mat: Option<String>,
    pub dye_mat_index: Option<i32>,
    pub dye_mat_type: Option<i32>,
    pub eater: Option<i32>,
    pub entity: Option<i32>,
    pub group: Option<Vec<i32>>,
    pub hf: Option<i32>,
    pub hf_target: Option<i32>,
    pub hfid: Option<i32>,
    pub histfig: Option<i32>,
    pub identity_caste: Option<String>,
    pub identity_hf: Option<i32>,
    pub identity_histfig_id: Option<i32>,
    pub identity_name: Option<String>,
    pub identity_nemesis_id: Option<i32>,
    pub identity_race: Option<String>,
    pub imp_mat: Option<String>,
    pub imp_mat_index: Option<i32>,
    pub imp_mat_type: Option<i32>,
    pub improvement_subtype: Option<String>,
    pub improvement_type: Option<String>,
    pub injury_type: Option<String>,
    pub interaction: Option<i32>,
    pub interaction_action: Option<String>,
    pub interaction_string: Option<String>,
    pub item: Option<i32>,
    pub item_id: Option<i32>,
    pub item_mat: Option<String>,
    pub item_subtype: Option<String>,
    pub item_type: Option<String>,
    pub link_type: Option<String>,
    pub maker: Option<i32>,
    pub maker_entity: Option<i32>,
    pub mat: Option<String>,
    pub mat_type: Option<i32>,
    pub mat_index: Option<i32>,
    pub matindex: Option<i32>,
    pub mattype: Option<i32>,
    pub method: Option<String>,
    pub new_caste: Option<String>,
    pub new_job: Option<String>,
    pub new_race: Option<String>,
    pub new_structure: Option<i32>,
    pub old_caste: Option<String>,
    pub old_job: Option<String>,
    pub old_race: Option<String>,
    pub old_structure: Option<i32>,
    pub part_lost: Option<bool>,
    pub pets: Option<Vec<String>>,
    pub pile_type: Option<String>,
    pub position: Option<String>,
    pub promise_to_hfid: Option<i32>,
    pub props_item_mat: Option<String>,
    pub props_item_mat_index: Option<i32>,
    pub props_item_mat_type: Option<i32>,
    pub props_item_subtype: Option<String>,
    pub props_item_type: Option<String>,
    pub props_pile_type: Option<i32>,
    pub race: Option<String>,
    pub reason: Option<Reason>,
    pub reason_id: Option<i32>,
    pub rebuild: Option<bool>,
    pub region: Option<i32>,
    pub sanctify_hf: Option<i32>,
    pub secret_text: Option<String>,
    pub shooter_artifact_id: Option<i32>,
    pub shooter_item: Option<String>,
    pub shooter_item_subtype: Option<String>,
    pub shooter_item_type: Option<String>,
    pub shooter_mat: Option<String>,
    pub site: Option<i32>,
    pub site_civ: Option<i32>,
    pub skill_rating: Option<i32>,
    pub skill_used: Option<i32>,
    pub slayer_caste: Option<String>,
    pub slayer_hf: Option<i32>,
    pub slayer_race: Option<String>,
    pub source: Option<i32>,
    pub stash_site: Option<i32>,
    pub state: Option<String>,
    pub structure: Option<i32>,
    pub student: Option<i32>,
    pub target: Option<i32>,
    pub teacher: Option<i32>,
    pub theft_method: Option<String>,
    pub topic: Option<String>,
    pub tree: Option<i32>,
    pub trickster: Option<i32>,
    pub unit_id: Option<i32>,
    pub victim: Option<i32>,
    pub victim_entity: Option<i32>,
    pub victim_hf: Option<i32>,
    pub woundee: Option<i32>,
    pub woundee_caste: Option<String>,
    pub woundee_race: Option<i32>,
    pub wounder: Option<i32>,
    pub unknown: HashMap<String, Value>,
}

Fields

id: i32type_: Option<String>abuse_type: Option<String>

Was a number before DFHack 0.47.04-r2

action: Option<String>

Was a number before DFHack 0.47.04-r2

anon_3: Option<i32>anon_4: Option<i32>appointer_hfid: Option<i32>art_id: Option<i32>art_subid: Option<i32>artifact: Option<i32>artifact_id: Option<i32>bodies: Option<Vec<i32>>body_part: Option<i32>builder_hf: Option<i32>building_custom: Option<i32>building_type: Option<String>building_subtype: Option<String>caste: Option<String>changee: Option<i32>changer: Option<i32>circumstance: Option<Circumstance>circumstance_id: Option<i32>civ: Option<i32>creation_event: Option<i32>creator_hfid: Option<i32>creator_unit_id: Option<i32>death_cause: Option<String>destination: Option<i32>doer: Option<i32>dye_mat: Option<String>dye_mat_index: Option<i32>dye_mat_type: Option<i32>eater: Option<i32>entity: Option<i32>group: Option<Vec<i32>>hf: Option<i32>hf_target: Option<i32>hfid: Option<i32>histfig: Option<i32>identity_caste: Option<String>identity_hf: Option<i32>identity_histfig_id: Option<i32>identity_name: Option<String>identity_nemesis_id: Option<i32>identity_race: Option<String>imp_mat: Option<String>imp_mat_index: Option<i32>imp_mat_type: Option<i32>improvement_subtype: Option<String>improvement_type: Option<String>

(updated in v0.2.0)

injury_type: Option<String>

Was a number before DFHack 0.47.04-r2

interaction: Option<i32>interaction_action: Option<String>interaction_string: Option<String>item: Option<i32>item_id: Option<i32>item_mat: Option<String>item_subtype: Option<String>item_type: Option<String>link_type: Option<String>maker: Option<i32>maker_entity: Option<i32>mat: Option<String>mat_type: Option<i32>mat_index: Option<i32>matindex: Option<i32>mattype: Option<i32>method: Option<String>new_caste: Option<String>new_job: Option<String>new_race: Option<String>new_structure: Option<i32>old_caste: Option<String>old_job: Option<String>old_race: Option<String>old_structure: Option<i32>part_lost: Option<bool>pets: Option<Vec<String>>pile_type: Option<String>position: Option<String>promise_to_hfid: Option<i32>props_item_mat: Option<String>props_item_mat_index: Option<i32>props_item_mat_type: Option<i32>props_item_subtype: Option<String>props_item_type: Option<String>props_pile_type: Option<i32>race: Option<String>reason: Option<Reason>reason_id: Option<i32>rebuild: Option<bool>region: Option<i32>sanctify_hf: Option<i32>secret_text: Option<String>shooter_artifact_id: Option<i32>shooter_item: Option<String>shooter_item_subtype: Option<String>shooter_item_type: Option<String>shooter_mat: Option<String>site: Option<i32>site_civ: Option<i32>skill_rating: Option<i32>skill_used: Option<i32>slayer_caste: Option<String>slayer_hf: Option<i32>slayer_race: Option<String>source: Option<i32>stash_site: Option<i32>state: Option<String>

Was a number before DFHack 0.47.04-r2 TODO: Conversion to be added.

structure: Option<i32>student: Option<i32>target: Option<i32>teacher: Option<i32>theft_method: Option<String>topic: Option<String>tree: Option<i32>trickster: Option<i32>unit_id: Option<i32>victim: Option<i32>victim_entity: Option<i32>victim_hf: Option<i32>woundee: Option<i32>woundee_caste: Option<String>woundee_race: Option<i32>wounder: Option<i32>unknown: HashMap<String, Value>

Trait Implementations

impl Clone for HistoricalEvent[src]

impl Debug for HistoricalEvent[src]

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

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

impl HasUnknown for HistoricalEvent[src]

impl Hash for HistoricalEvent[src]

impl PartialEq<HistoricalEvent> for HistoricalEvent[src]

impl PartialEq<HistoricalEvent> for HistoricalEvent[src]

impl Serialize for HistoricalEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEvent

impl Send for HistoricalEvent

impl Sync for HistoricalEvent

impl Unpin for HistoricalEvent

impl UnwindSafe for HistoricalEvent

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.