[][src]Trait df_st_db::DBObject

pub trait DBObject<C, D> where
    C: Fillable + Filler<C, D> + Default + Debug + Clone,
    D: PartialEq<C> + Debug + Clone
{ fn match_field_by(field: String) -> String;
fn add_missing_data_advanced(core_world: &DFWorld, world: &mut DBDFWorld);
fn insert_into_db(conn: &DbConnection, db_list: &[D]);
fn get_count_from_db(
        conn: &DbConnection,
        id_filter: HashMap<String, i32>,
        string_filter: HashMap<String, String>,
        offset: u32,
        limit: u32,
        group_by_opt: Option<String>,
        id_list: Option<Vec<i32>>
    ) -> Result<Vec<ItemCount>, Error>;
fn find_db_item(
        conn: &DbConnection,
        id_filter: HashMap<String, i32>
    ) -> Result<Option<D>, Error>;
fn find_db_list(
        conn: &DbConnection,
        id_filter: HashMap<String, i32>,
        string_filter: HashMap<String, String>,
        offset: i64,
        limit: i64,
        order: Option<OrderTypes>,
        order_by: Option<String>,
        id_list: Option<Vec<i32>>
    ) -> Result<Vec<D>, Error>;
fn add_nested_items(
        conn: &DbConnection,
        db_list: &[D],
        core_list: Vec<C>
    ) -> Result<Vec<C>, Error>; fn get_order(
        order: Option<OrderTypes>,
        order_by: Option<String>
    ) -> (String, bool) { ... }
fn match_field_by_opt(field: Option<String>) -> Option<String> { ... }
fn insert_into_db_chunked(conn: &DbConnection, db_list: &[D]) { ... }
fn insert_into_db_chunked_indexmap(
        conn: &DbConnection,
        db_list: &IndexMap<u64, D>
    ) { ... }
fn indexmap_chunks(
        indexmap: &IndexMap<u64, D>,
        chunk_size: usize,
        offset: usize
    ) -> Vec<D> { ... }
fn get_list_from_db(
        conn: &DbConnection,
        id_filter: HashMap<String, i32>,
        string_filter: HashMap<String, String>,
        offset: u32,
        limit: u32,
        order: Option<OrderTypes>,
        order_by: Option<String>,
        id_list: Option<Vec<i32>>,
        add_nested_items: bool
    ) -> Result<Vec<C>, Error> { ... }
fn get_from_db(
        conn: &DbConnection,
        id_filter: HashMap<String, i32>,
        add_nested_items: bool
    ) -> Result<Option<C>, Error> { ... } }

Required methods

fn match_field_by(field: String) -> String

fn add_missing_data_advanced(core_world: &DFWorld, world: &mut DBDFWorld)

Add other items to the world that are part of DB Object, but are still part of the Core object.

fn insert_into_db(conn: &DbConnection, db_list: &[D])

Insert the DB object into the database

fn get_count_from_db(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    string_filter: HashMap<String, String>,
    offset: u32,
    limit: u32,
    group_by_opt: Option<String>,
    id_list: Option<Vec<i32>>
) -> Result<Vec<ItemCount>, Error>

Get the amount of items that would be returned when using these filters. The fields can optionally be grouped using the group_by_opt.

fn find_db_item(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>
) -> Result<Option<D>, Error>

The database call for an item by id If item not found returns None

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    id_list: Option<Vec<i32>>
) -> Result<Vec<D>, Error>

The database call for the list of items given some limit Limit: the maximum amount of items in the list that are returned.

fn add_nested_items(
    conn: &DbConnection,
    db_list: &[D],
    core_list: Vec<C>
) -> Result<Vec<C>, Error>

Add additional data to the list of objects This can call additional DB requests

Loading content...

Provided methods

fn get_order(
    order: Option<OrderTypes>,
    order_by: Option<String>
) -> (String, bool)

fn match_field_by_opt(field: Option<String>) -> Option<String>

fn insert_into_db_chunked(conn: &DbConnection, db_list: &[D])

Inserts the DB objects into the database. If the list is to long to insert in 1 database call it will split it up in chunks and insert them in multiple calls. See #46

fn insert_into_db_chunked_indexmap(
    conn: &DbConnection,
    db_list: &IndexMap<u64, D>
)

Inserts the DB objects into the database. If the list is to long to insert in 1 database call it will split it up in chunks and insert them in multiple calls. See #46

fn indexmap_chunks(
    indexmap: &IndexMap<u64, D>,
    chunk_size: usize,
    offset: usize
) -> Vec<D>

fn get_list_from_db(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    string_filter: HashMap<String, String>,
    offset: u32,
    limit: u32,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    id_list: Option<Vec<i32>>,
    add_nested_items: bool
) -> Result<Vec<C>, Error>

Get a list of all the Core items from that database given some parameters Limit: the maximum amount of items in the list that are returned.

fn get_from_db(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    add_nested_items: bool
) -> Result<Option<C>, Error>

Get a Core item from the database, search by id If item is not found it will return None

Loading content...

Implementors

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

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

impl DBObject<Creature, CreatureAG> for CreatureAG[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureAG>, Error>
[src]

Get a list of CreatureAG from the database

impl DBObject<Creature, CreatureHH1> for CreatureHH1[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureHH1>, Error>
[src]

Get a list of CreatureHH1 from the database

impl DBObject<Creature, CreatureHH2> for CreatureHH2[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureHH2>, Error>
[src]

Get a list of CreatureHH2 from the database

impl DBObject<Creature, CreatureLZ> for CreatureLZ[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureLZ>, Error>
[src]

Get a list of CreatureLZ from the database

impl DBObject<CreatureBiome, CreatureBiome1> for CreatureBiome1[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureBiome1>, Error>
[src]

Get a list of CreatureBiome1 from the database

impl DBObject<CreatureBiome, CreatureBiome2> for CreatureBiome2[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureBiome2>, Error>
[src]

Get a list of CreatureBiome2 from the database

impl DBObject<DanceForm, DanceForm> for DanceForm[src]

impl DBObject<Entity, Entity> for Entity[src]

impl DBObject<EntityHonor, EntityHonor> for EntityHonor[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityHonor>, Error>
[src]

Get a list of EntityHonor from the database

impl DBObject<EntityLink, EntityLink> for EntityLink[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityLink>, Error>
[src]

Get a list of EntityLink from the database

impl DBObject<EntityOccasion, EntityOccasion> for EntityOccasion[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityOccasion>, Error>
[src]

Get a list of EntityOccasion from the database

impl DBObject<EntityOccasionSchedule, EntityOccasionSchedule> for EntityOccasionSchedule[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityOccasionSchedule>, Error>
[src]

Get a list of EntityOccasionSchedule from the database

impl DBObject<EntityOccasionScheduleFeature, EntityOccasionScheduleFeature> for EntityOccasionScheduleFeature[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityOccasionScheduleFeature>, Error>
[src]

Get a list of EntityOccasionScheduleFeature from the database

impl DBObject<EntityPosition, EntityPosition> for EntityPosition[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityPosition>, Error>
[src]

Get a list of EntityPosition from the database

impl DBObject<EntityPositionAssignment, EntityPositionAssignment> for EntityPositionAssignment[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityPositionAssignment>, Error>
[src]

Get a list of EntityPositionAssignment from the database

impl DBObject<EntityPopulation, EntityPopulation> for EntityPopulation[src]

impl DBObject<HistoricalEra, HistoricalEra> for HistoricalEra[src]

impl DBObject<HECircumstance, HECircumstance> for HECircumstance[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECircumstance>, Error>
[src]

Get a list of HECircumstance from the database

impl DBObject<HEReason, HEReason> for HEReason[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEReason>, Error>
[src]

Get a list of HEReason from the database

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

impl DBObject<HistoricalEvent, HistoricalEventAA> for HistoricalEventAA[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventAA>, Error>
[src]

Get a list of HistoricalEventAA from the database

impl DBObject<HistoricalEvent, HistoricalEventBB> for HistoricalEventBB[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventBB>, Error>
[src]

Get a list of HistoricalEventBB from the database

impl DBObject<HistoricalEvent, HistoricalEventCC> for HistoricalEventCC[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventCC>, Error>
[src]

Get a list of HistoricalEventCC from the database

impl DBObject<HistoricalEvent, HistoricalEventDD1> for HistoricalEventDD1[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventDD1>, Error>
[src]

Get a list of HistoricalEventDD1 from the database

impl DBObject<HistoricalEvent, HistoricalEventDD2> for HistoricalEventDD2[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventDD2>, Error>
[src]

Get a list of HistoricalEventDD2 from the database

impl DBObject<HistoricalEvent, HistoricalEventEG> for HistoricalEventEG[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventEG>, Error>
[src]

Get a list of HistoricalEventEG from the database

impl DBObject<HistoricalEvent, HistoricalEventHH> for HistoricalEventHH[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventHH>, Error>
[src]

Get a list of HistoricalEventHH from the database

impl DBObject<HistoricalEvent, HistoricalEventII> for HistoricalEventII[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventII>, Error>
[src]

Get a list of HistoricalEventII from the database

impl DBObject<HistoricalEvent, HistoricalEventJM> for HistoricalEventJM[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventJM>, Error>
[src]

Get a list of HistoricalEventJM from the database

impl DBObject<HistoricalEvent, HistoricalEventNO> for HistoricalEventNO[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventNO>, Error>
[src]

Get a list of HistoricalEventNO from the database

impl DBObject<HistoricalEvent, HistoricalEventPP> for HistoricalEventPP[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventPP>, Error>
[src]

Get a list of HistoricalEventPP from the database

impl DBObject<HistoricalEvent, HistoricalEventQR> for HistoricalEventQR[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventQR>, Error>
[src]

Get a list of HistoricalEventQR from the database

impl DBObject<HistoricalEvent, HistoricalEventSS1> for HistoricalEventSS1[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventSS1>, Error>
[src]

Get a list of HistoricalEventSS1 from the database

impl DBObject<HistoricalEvent, HistoricalEventSS2> for HistoricalEventSS2[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventSS2>, Error>
[src]

Get a list of HistoricalEventSS2 from the database

impl DBObject<HistoricalEvent, HistoricalEventTT> for HistoricalEventTT[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventTT>, Error>
[src]

Get a list of HistoricalEventTT from the database

impl DBObject<HistoricalEvent, HistoricalEventUW> for HistoricalEventUW[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventUW>, Error>
[src]

Get a list of HistoricalEventUW from the database

impl DBObject<HistoricalEventCollection, HistoricalEventCollection> for HistoricalEventCollection[src]

impl DBObject<HistoricalEventCollection, HistoricalEventCollectionAC> for HistoricalEventCollectionAC[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventCollectionAC>, Error>
[src]

Get a list of HistoricalEventCollectionAC from the database

impl DBObject<HistoricalEventCollection, HistoricalEventCollectionDZ> for HistoricalEventCollectionDZ[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HistoricalEventCollectionDZ>, Error>
[src]

Get a list of HistoricalEventCollectionDZ from the database

impl DBObject<HFEntityLink, HFEntityLink> for HFEntityLink[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFEntityLink>, Error>
[src]

Get a list of HFEntityLink from the database

impl DBObject<HFEntityPositionLink, HFEntityPositionLink> for HFEntityPositionLink[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFEntityPositionLink>, Error>
[src]

Get a list of HFEntityPositionLink from the database

impl DBObject<HFEntityReputation, HFEntityReputation> for HFEntityReputation[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFEntityReputation>, Error>
[src]

Get a list of HFEntityReputation from the database

impl DBObject<HFEntitySquadLink, HFEntitySquadLink> for HFEntitySquadLink[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFEntitySquadLink>, Error>
[src]

Get a list of HFEntitySquadLink from the database

impl DBObject<HFHonorEntity, HFHonorEntity> for HFHonorEntity[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFHonorEntity>, Error>
[src]

Get a list of HFHonorEntity from the database

impl DBObject<HFIntrigueActor, HFIntrigueActor> for HFIntrigueActor[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFIntrigueActor>, Error>
[src]

Get a list of HFIntrigueActor from the database

impl DBObject<HFIntriguePlot, HFIntriguePlot> for HFIntriguePlot[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFIntriguePlot>, Error>
[src]

Get a list of HFIntriguePlot from the database

impl DBObject<HFLink, HFLink> for HFLink[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFLink>, Error>
[src]

Get a list of HFLink from the database

impl DBObject<HFPlotActor, HFPlotActor> for HFPlotActor[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFPlotActor>, Error>
[src]

Get a list of HFPlotActor from the database

impl DBObject<HFRelationshipProfileHF, HFRelationshipProfileHF> for HFRelationshipProfileHF[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFRelationshipProfileHF>, Error>
[src]

Get a list of HFRelationshipProfileHF from the database

impl DBObject<HFSiteLink, HFSiteLink> for HFSiteLink[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFSiteLink>, Error>
[src]

Get a list of HFSiteLink from the database

impl DBObject<HFSiteProperty, HFSiteProperty> for HFSiteProperty[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFSiteProperty>, Error>
[src]

Get a list of HFSiteProperty from the database

impl DBObject<HFSkill, HFSkill> for HFSkill[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFSkill>, Error>
[src]

Get a list of HFSkill from the database

impl DBObject<HFVagueRelationship, HFVagueRelationship> for HFVagueRelationship[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFVagueRelationship>, Error>
[src]

Get a list of HFVagueRelationship from the database

impl DBObject<HistoricalFigure, HistoricalFigure> for HistoricalFigure[src]

impl DBObject<Identity, Identity> for Identity[src]

impl DBObject<Landmass, Landmass> for Landmass[src]

impl DBObject<LinkHEHF, LinkHEHF> for LinkHEHF[src]

impl DBObject<MountainPeak, MountainPeak> for MountainPeak[src]

impl DBObject<MusicalForm, MusicalForm> for MusicalForm[src]

impl DBObject<PoeticForm, PoeticForm> for PoeticForm[src]

impl DBObject<Region, Region> for Region[src]

fn add_missing_data_advanced(core_world: &DFWorld, world: &mut DBDFWorld)[src]

Add Coordinates to the world that are part of Region

impl DBObject<River, River> for River[src]

impl DBObject<Site, Site> for Site[src]

impl DBObject<SiteProperty, SiteProperty> for SiteProperty[src]

impl DBObject<Structure, Structure> for Structure[src]

impl DBObject<UndergroundRegion, UndergroundRegion> for UndergroundRegion[src]

fn add_missing_data_advanced(core_world: &DFWorld, world: &mut DBDFWorld)[src]

Add Coordinates to the world that are part of UndergroundRegion

impl DBObject<WorldConstruction, WorldConstruction> for WorldConstruction[src]

fn add_missing_data_advanced(core_world: &DFWorld, world: &mut DBDFWorld)[src]

Add Coordinates to the world that are part of WorldConstruction

impl DBObject<DFWorldInfo, DFWorldInfo> for DFWorldInfo[src]

impl DBObject<WCReference, WCReference> for WCReference[src]

impl DBObject<WCStyle, WCStyle> for WCStyle[src]

impl DBObject<WrittenContent, WrittenContent> for WrittenContent[src]

impl DBObject<Coordinate, Coordinate> for Coordinate[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    id_list: Option<Vec<i32>>
) -> Result<Vec<Coordinate>, Error>
[src]

Get a filtered list of coordinates from the database

impl DBObject<Path, Path> for Path[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    id_list: Option<Vec<i32>>
) -> Result<Vec<Path>, Error>
[src]

Get a filtered list of paths from the database

impl DBObject<Rectangle, Rectangle> for Rectangle[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    id_list: Option<Vec<i32>>
) -> Result<Vec<Rectangle>, Error>
[src]

Get a filtered list of rectangles from the database

impl DBObject<SiteMapImage, SiteMapImage> for SiteMapImage[src]

impl DBObject<MapImage, MapImage> for MapImage[src]

impl DBObject<EntityChildENID, EntityChildENID> for EntityChildENID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityChildENID>, Error>
[src]

Get a list of EntityChildENID from the database

impl DBObject<EntityHFID, EntityHFID> for EntityHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityHFID>, Error>
[src]

Get a list of EntityHFID from the database

impl DBObject<EntityPopulationRace, EntityPopulationRace> for EntityPopulationRace[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityPopulationRace>, Error>
[src]

Get a list of entity_population_races from the database

impl DBObject<EntityProfession, EntityProfession> for EntityProfession[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityProfession>, Error>
[src]

Get a list of EntityProfession from the database

impl DBObject<EntityWeapon, EntityWeapon> for EntityWeapon[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityWeapon>, Error>
[src]

Get a list of EntityWeapon from the database

impl DBObject<EntityWorshipID, EntityWorshipID> for EntityWorshipID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<EntityWorshipID>, Error>
[src]

Get a list of EntityWorshipID from the database

impl DBObject<HEAHFID, HEAHFID> for HEAHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEAHFID>, Error>
[src]

Get a list of HEAHFID from the database

impl DBObject<HEBodiesHFID, HEBodiesHFID> for HEBodiesHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEBodiesHFID>, Error>
[src]

Get a list of HEBodiesHFID from the database

impl DBObject<HECASupportMercHFID, HECASupportMercHFID> for HECASupportMercHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECASupportMercHFID>, Error>
[src]

Get a list of HECASupportMercHFID from the database

impl DBObject<HECAttackingHFID, HECAttackingHFID> for HECAttackingHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECAttackingHFID>, Error>
[src]

Get a list of HECAttackingHFID from the database

impl DBObject<HECDSupportMercHFID, HECDSupportMercHFID> for HECDSupportMercHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECDSupportMercHFID>, Error>
[src]

Get a list of HECDSupportMercHFID from the database

impl DBObject<HECDefendingHFID, HECDefendingHFID> for HECDefendingHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECDefendingHFID>, Error>
[src]

Get a list of HECDefendingHFID from the database

impl DBObject<HECHEID, HECHEID> for HECHEID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECHEID>, Error>
[src]

Get a list of HECHEID from the database

impl DBObject<HECIndividualMerc, HECIndividualMerc> for HECIndividualMerc[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECIndividualMerc>, Error>
[src]

Get a list of HECIndividualMerc from the database

impl DBObject<HECNoncomHFID, HECNoncomHFID> for HECNoncomHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECNoncomHFID>, Error>
[src]

Get a list of HECNoncomHFID from the database

impl DBObject<HECOutcome, HECOutcome> for HECOutcome[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECOutcome>, Error>
[src]

Get a list of HECOutcome from the database

impl DBObject<HECRelatedID, HECRelatedID> for HECRelatedID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECRelatedID>, Error>
[src]

Get a list of HECRelatedID from the database

impl DBObject<HECompetitorHFID, HECompetitorHFID> for HECompetitorHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HECompetitorHFID>, Error>
[src]

Get a list of HECompetitorHFID from the database

impl DBObject<HEConspiratorHFID, HEConspiratorHFID> for HEConspiratorHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEConspiratorHFID>, Error>
[src]

Get a list of HEConspiratorHFID from the database

impl DBObject<HEDHFID, HEDHFID> for HEDHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEDHFID>, Error>
[src]

Get a list of HEDHFID from the database

impl DBObject<HEExpelledCreature, HEExpelledCreature> for HEExpelledCreature[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEExpelledCreature>, Error>
[src]

Get a list of HEExpelledCreature from the database

impl DBObject<HEExpelledHFID, HEExpelledHFID> for HEExpelledHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEExpelledHFID>, Error>
[src]

Get a list of HEExpelledHFID from the database

impl DBObject<HEExpelledNumber, HEExpelledNumber> for HEExpelledNumber[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEExpelledNumber>, Error>
[src]

Get a list of HEExpelledNumber from the database

impl DBObject<HEExpelledPopID, HEExpelledPopID> for HEExpelledPopID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEExpelledPopID>, Error>
[src]

Get a list of HEExpelledPopID from the database

impl DBObject<HEGroupsHFID, HEGroupsHFID> for HEGroupsHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEGroupsHFID>, Error>
[src]

Get a list of HEGroupsHFID from the database

impl DBObject<HEImplicatedHFID, HEImplicatedHFID> for HEImplicatedHFID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEImplicatedHFID>, Error>
[src]

Get a list of HEImplicatedHFID from the database

impl DBObject<HEJoiningENID, HEJoiningENID> for HEJoiningENID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEJoiningENID>, Error>
[src]

Get a list of HEJoiningENID from the database

impl DBObject<HEPet, HEPet> for HEPet[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HEPet>, Error>
[src]

Get a list of HEPet from the database

impl DBObject<HFHonorID, HFHonorID> for HFHonorID[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFHonorID>, Error>
[src]

Get a list of HFHonorID from the database

impl DBObject<HFInteractionKnowledge, HFInteractionKnowledge> for HFInteractionKnowledge[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFInteractionKnowledge>, Error>
[src]

Get a list of HFInteractionKnowledge from the database

impl DBObject<HFJourneyPets, HFJourneyPets> for HFJourneyPets[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFJourneyPets>, Error>
[src]

Get a list of HFJourneyPets from the database

impl DBObject<HFSpheres, HFSpheres> for HFSpheres[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<HFSpheres>, Error>
[src]

Get a list of HFSpheres from the database

impl DBObject<RegionForce, RegionForce> for RegionForce[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<RegionForce>, Error>
[src]

Get a list of RegionForce from the database

Loading content...