[][src]Struct df_st_db::DBDFWorld

pub struct DBDFWorld {
    pub world_info: DFWorldInfo,
    pub coordinates: Vec<Coordinate>,
    pub rectangles: Vec<Rectangle>,
    pub paths: Vec<Path>,
    pub regions: IndexMap<u64, Region>,
    pub regions_forces: Vec<RegionForce>,
    pub underground_regions: IndexMap<u64, UndergroundRegion>,
    pub sites: IndexMap<u64, Site>,
    pub structures: Vec<Structure>,
    pub sites_properties: Vec<SiteProperty>,
    pub artifacts: IndexMap<u64, Artifact>,
    pub world_constructions: IndexMap<u64, WorldConstruction>,
    pub entity_populations: IndexMap<u64, EntityPopulation>,
    pub entity_population_races: Vec<EntityPopulationRace>,
    pub historical_eras: IndexMap<u64, HistoricalEra>,
    pub historical_events: IndexMap<u64, HistoricalEvent>,
    pub historical_events_a_a: IndexMap<u64, HistoricalEventAA>,
    pub historical_events_b_b: IndexMap<u64, HistoricalEventBB>,
    pub historical_events_c_c: IndexMap<u64, HistoricalEventCC>,
    pub historical_events_d_d1: IndexMap<u64, HistoricalEventDD1>,
    pub historical_events_d_d2: IndexMap<u64, HistoricalEventDD2>,
    pub historical_events_e_g: IndexMap<u64, HistoricalEventEG>,
    pub historical_events_h_h: IndexMap<u64, HistoricalEventHH>,
    pub historical_events_i_i: IndexMap<u64, HistoricalEventII>,
    pub historical_events_j_m: IndexMap<u64, HistoricalEventJM>,
    pub historical_events_n_o: IndexMap<u64, HistoricalEventNO>,
    pub historical_events_p_p: IndexMap<u64, HistoricalEventPP>,
    pub historical_events_q_r: IndexMap<u64, HistoricalEventQR>,
    pub historical_events_s_s1: IndexMap<u64, HistoricalEventSS1>,
    pub historical_events_s_s2: IndexMap<u64, HistoricalEventSS2>,
    pub historical_events_t_t: IndexMap<u64, HistoricalEventTT>,
    pub historical_events_u_w: IndexMap<u64, HistoricalEventUW>,
    pub he_circumstances: Vec<HECircumstance>,
    pub he_reasons: Vec<HEReason>,
    pub he_bodies_hf_ids: Vec<HEBodiesHFID>,
    pub he_competitor_hf_ids: Vec<HECompetitorHFID>,
    pub he_conspirator_hf_ids: Vec<HEConspiratorHFID>,
    pub he_expelled_creatures: Vec<HEExpelledCreature>,
    pub he_expelled_hf_ids: Vec<HEExpelledHFID>,
    pub he_expelled_numbers: Vec<HEExpelledNumber>,
    pub he_expelled_pop_ids: Vec<HEExpelledPopID>,
    pub he_groups_hf_ids: Vec<HEGroupsHFID>,
    pub he_implicated_hf_ids: Vec<HEImplicatedHFID>,
    pub he_joining_en_ids: Vec<HEJoiningENID>,
    pub he_pets: Vec<HEPet>,
    pub he_a_hf_ids: Vec<HEAHFID>,
    pub he_d_hf_ids: Vec<HEDHFID>,
    pub historical_figures: IndexMap<u64, HistoricalFigure>,
    pub hf_entity_links: Vec<HFEntityLink>,
    pub hf_entity_position_links: Vec<HFEntityPositionLink>,
    pub hf_site_links: Vec<HFSiteLink>,
    pub hf_skills: Vec<HFSkill>,
    pub hf_relationship_profile_hf: Vec<HFRelationshipProfileHF>,
    pub hf_intrigue_actors: Vec<HFIntrigueActor>,
    pub hf_intrigue_plots: Vec<HFIntriguePlot>,
    pub hf_plot_actors: Vec<HFPlotActor>,
    pub hf_entity_reputations: Vec<HFEntityReputation>,
    pub hf_vague_relationships: Vec<HFVagueRelationship>,
    pub hf_entity_squad_links: Vec<HFEntitySquadLink>,
    pub hf_links: Vec<HFLink>,
    pub hf_honor_entities: Vec<HFHonorEntity>,
    pub hf_site_properties: Vec<HFSiteProperty>,
    pub hf_spheres: Vec<HFSpheres>,
    pub hf_interaction_knowledges: Vec<HFInteractionKnowledge>,
    pub hf_journey_pets: Vec<HFJourneyPets>,
    pub hf_honor_ids: Vec<HFHonorID>,
    pub dance_forms: IndexMap<u64, DanceForm>,
    pub musical_forms: IndexMap<u64, MusicalForm>,
    pub poetic_forms: IndexMap<u64, PoeticForm>,
    pub identities: IndexMap<u64, Identity>,
    pub landmasses: IndexMap<u64, Landmass>,
    pub rivers: IndexMap<u64, River>,
    pub written_contents: IndexMap<u64, WrittenContent>,
    pub wc_styles: Vec<WCStyle>,
    pub wc_references: Vec<WCReference>,
    pub mountain_peaks: IndexMap<u64, MountainPeak>,
    pub entities: IndexMap<u64, Entity>,
    pub entity_honors: Vec<EntityHonor>,
    pub entity_links: Vec<EntityLink>,
    pub entity_positions: Vec<EntityPosition>,
    pub entity_position_assignments: Vec<EntityPositionAssignment>,
    pub entity_occasions: Vec<EntityOccasion>,
    pub entity_occasion_schedules: Vec<EntityOccasionSchedule>,
    pub entity_occasion_schedule_features: Vec<EntityOccasionScheduleFeature>,
    pub entity_worship_ids: Vec<EntityWorshipID>,
    pub entity_weapons: Vec<EntityWeapon>,
    pub entity_professions: Vec<EntityProfession>,
    pub entity_hf_ids: Vec<EntityHFID>,
    pub entity_child_en_ids: Vec<EntityChildENID>,
    pub historical_event_collections: IndexMap<u64, HistoricalEventCollection>,
    pub historical_event_collections_a_c: IndexMap<u64, HistoricalEventCollectionAC>,
    pub historical_event_collections_d_z: IndexMap<u64, HistoricalEventCollectionDZ>,
    pub hec_he_ids: Vec<HECHEID>,
    pub hec_related_ids: Vec<HECRelatedID>,
    pub hec_individual_mercs: Vec<HECIndividualMerc>,
    pub hec_noncom_hf_ids: Vec<HECNoncomHFID>,
    pub hec_outcomes: Vec<HECOutcome>,
    pub hec_attacking_hf_ids: Vec<HECAttackingHFID>,
    pub hec_defending_hf_ids: Vec<HECDefendingHFID>,
    pub hec_a_support_merc_hf_ids: Vec<HECASupportMercHFID>,
    pub hec_d_support_merc_hf_ids: Vec<HECDSupportMercHFID>,
    pub creatures: IndexMap<u64, Creature>,
    pub creatures_a_g: IndexMap<u64, CreatureAG>,
    pub creatures_h_h_1: IndexMap<u64, CreatureHH1>,
    pub creatures_h_h_2: IndexMap<u64, CreatureHH2>,
    pub creatures_l_z: IndexMap<u64, CreatureLZ>,
    pub creature_biomes_1: Vec<CreatureBiome1>,
    pub creature_biomes_2: Vec<CreatureBiome2>,
    pub links_he_hf: IndexMap<u64, LinkHEHF>,
}

Fields

world_info: DFWorldInfocoordinates: Vec<Coordinate>rectangles: Vec<Rectangle>paths: Vec<Path>regions: IndexMap<u64, Region>regions_forces: Vec<RegionForce>underground_regions: IndexMap<u64, UndergroundRegion>sites: IndexMap<u64, Site>structures: Vec<Structure>sites_properties: Vec<SiteProperty>artifacts: IndexMap<u64, Artifact>world_constructions: IndexMap<u64, WorldConstruction>entity_populations: IndexMap<u64, EntityPopulation>entity_population_races: Vec<EntityPopulationRace>historical_eras: IndexMap<u64, HistoricalEra>historical_events: IndexMap<u64, HistoricalEvent>historical_events_a_a: IndexMap<u64, HistoricalEventAA>historical_events_b_b: IndexMap<u64, HistoricalEventBB>historical_events_c_c: IndexMap<u64, HistoricalEventCC>historical_events_d_d1: IndexMap<u64, HistoricalEventDD1>historical_events_d_d2: IndexMap<u64, HistoricalEventDD2>historical_events_e_g: IndexMap<u64, HistoricalEventEG>historical_events_h_h: IndexMap<u64, HistoricalEventHH>historical_events_i_i: IndexMap<u64, HistoricalEventII>historical_events_j_m: IndexMap<u64, HistoricalEventJM>historical_events_n_o: IndexMap<u64, HistoricalEventNO>historical_events_p_p: IndexMap<u64, HistoricalEventPP>historical_events_q_r: IndexMap<u64, HistoricalEventQR>historical_events_s_s1: IndexMap<u64, HistoricalEventSS1>historical_events_s_s2: IndexMap<u64, HistoricalEventSS2>historical_events_t_t: IndexMap<u64, HistoricalEventTT>historical_events_u_w: IndexMap<u64, HistoricalEventUW>he_circumstances: Vec<HECircumstance>he_reasons: Vec<HEReason>he_bodies_hf_ids: Vec<HEBodiesHFID>he_competitor_hf_ids: Vec<HECompetitorHFID>he_conspirator_hf_ids: Vec<HEConspiratorHFID>he_expelled_creatures: Vec<HEExpelledCreature>he_expelled_hf_ids: Vec<HEExpelledHFID>he_expelled_numbers: Vec<HEExpelledNumber>he_expelled_pop_ids: Vec<HEExpelledPopID>he_groups_hf_ids: Vec<HEGroupsHFID>he_implicated_hf_ids: Vec<HEImplicatedHFID>he_joining_en_ids: Vec<HEJoiningENID>he_pets: Vec<HEPet>he_a_hf_ids: Vec<HEAHFID>he_d_hf_ids: Vec<HEDHFID>historical_figures: IndexMap<u64, HistoricalFigure>hf_entity_links: Vec<HFEntityLink>hf_entity_position_links: Vec<HFEntityPositionLink>hf_site_links: Vec<HFSiteLink>hf_skills: Vec<HFSkill>hf_relationship_profile_hf: Vec<HFRelationshipProfileHF>hf_intrigue_actors: Vec<HFIntrigueActor>hf_intrigue_plots: Vec<HFIntriguePlot>hf_plot_actors: Vec<HFPlotActor>hf_entity_reputations: Vec<HFEntityReputation>hf_vague_relationships: Vec<HFVagueRelationship>hf_entity_squad_links: Vec<HFEntitySquadLink>hf_links: Vec<HFLink>hf_honor_entities: Vec<HFHonorEntity>hf_site_properties: Vec<HFSiteProperty>hf_spheres: Vec<HFSpheres>hf_interaction_knowledges: Vec<HFInteractionKnowledge>hf_journey_pets: Vec<HFJourneyPets>hf_honor_ids: Vec<HFHonorID>dance_forms: IndexMap<u64, DanceForm>musical_forms: IndexMap<u64, MusicalForm>poetic_forms: IndexMap<u64, PoeticForm>identities: IndexMap<u64, Identity>landmasses: IndexMap<u64, Landmass>rivers: IndexMap<u64, River>written_contents: IndexMap<u64, WrittenContent>wc_styles: Vec<WCStyle>wc_references: Vec<WCReference>mountain_peaks: IndexMap<u64, MountainPeak>entities: IndexMap<u64, Entity>entity_honors: Vec<EntityHonor>entity_links: Vec<EntityLink>entity_positions: Vec<EntityPosition>entity_position_assignments: Vec<EntityPositionAssignment>entity_occasions: Vec<EntityOccasion>entity_occasion_schedules: Vec<EntityOccasionSchedule>entity_occasion_schedule_features: Vec<EntityOccasionScheduleFeature>entity_worship_ids: Vec<EntityWorshipID>entity_weapons: Vec<EntityWeapon>entity_professions: Vec<EntityProfession>entity_hf_ids: Vec<EntityHFID>entity_child_en_ids: Vec<EntityChildENID>historical_event_collections: IndexMap<u64, HistoricalEventCollection>historical_event_collections_a_c: IndexMap<u64, HistoricalEventCollectionAC>historical_event_collections_d_z: IndexMap<u64, HistoricalEventCollectionDZ>hec_he_ids: Vec<HECHEID>hec_related_ids: Vec<HECRelatedID>hec_individual_mercs: Vec<HECIndividualMerc>hec_noncom_hf_ids: Vec<HECNoncomHFID>hec_outcomes: Vec<HECOutcome>hec_attacking_hf_ids: Vec<HECAttackingHFID>hec_defending_hf_ids: Vec<HECDefendingHFID>hec_a_support_merc_hf_ids: Vec<HECASupportMercHFID>hec_d_support_merc_hf_ids: Vec<HECDSupportMercHFID>creatures: IndexMap<u64, Creature>creatures_a_g: IndexMap<u64, CreatureAG>creatures_h_h_1: IndexMap<u64, CreatureHH1>creatures_h_h_2: IndexMap<u64, CreatureHH2>creatures_l_z: IndexMap<u64, CreatureLZ>creature_biomes_1: Vec<CreatureBiome1>creature_biomes_2: Vec<CreatureBiome2>links_he_hf: IndexMap<u64, LinkHEHF>

Implementations

impl DBDFWorld[src]

pub fn new() -> Self[src]

pub fn set_world_id(&mut self, world_id: i32)[src]

pub fn insert_into_db(
    &self,
    conn: &DbConnection,
    progress_bar: Option<ProgressBar>
)
[src]

Trait Implementations

impl Clone for DBDFWorld[src]

impl Debug for DBDFWorld[src]

impl Default for DBDFWorld[src]

impl Fillable for DBDFWorld[src]

impl Filler<DBDFWorld, DFWorld> for DBDFWorld[src]

From Core to DB (World data)

impl PartialEq<DBDFWorld> for DBDFWorld[src]

impl StructuralPartialEq for DBDFWorld[src]

Auto Trait Implementations

impl RefUnwindSafe for DBDFWorld

impl Send for DBDFWorld

impl Sync for DBDFWorld

impl Unpin for DBDFWorld

impl UnwindSafe for DBDFWorld

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> 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> IntoSql for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,