[−][src]Struct df_st_db::Identity
Fields
id: i32
world_id: i32
name: Option<String>
hf_id: Option<i32>
race: Option<String>
caste: Option<String>
birth_year: Option<i32>
birth_second: Option<i32>
profession: Option<String>
entity_id: Option<i32>
nemesis_id: Option<i32>
Implementations
impl Identity
[src]
Trait Implementations
impl<'update> AsChangeset for &'update Identity
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<name, &'update String>>, Option<Eq<hf_id, &'update i32>>, Option<Eq<race, &'update String>>, Option<Eq<caste, &'update String>>, Option<Eq<birth_year, &'update i32>>, Option<Eq<birth_second, &'update i32>>, Option<Eq<profession, &'update String>>, Option<Eq<entity_id, &'update i32>>, Option<Eq<nemesis_id, &'update i32>>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl<'update> AsChangeset for Identity
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Eq<world_id, i32>, Option<Eq<name, String>>, Option<Eq<hf_id, i32>>, Option<Eq<race, String>>, Option<Eq<caste, String>>, Option<Eq<birth_year, i32>>, Option<Eq<birth_second, i32>>, Option<Eq<profession, String>>, Option<Eq<entity_id, i32>>, Option<Eq<nemesis_id, i32>>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl Clone for Identity
[src]
impl DBObject<Identity, Identity> for Identity
[src]
fn add_missing_data_advanced(_core_world: &DFWorld, _world: &mut DBDFWorld)
[src]
fn insert_into_db(conn: &DbConnection, identities: &[Identity])
[src]
fn find_db_item(
conn: &DbConnection,
id_filter: HashMap<String, i32>
) -> Result<Option<Identity>, Error>
[src]
conn: &DbConnection,
id_filter: HashMap<String, i32>
) -> Result<Option<Identity>, 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<Identity>, Error>
[src]
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<Identity>, Error>
fn match_field_by(field: String) -> String
[src]
fn add_nested_items(
_conn: &DbConnection,
_db_list: &[Identity],
core_list: Vec<Identity>
) -> Result<Vec<Identity>, Error>
[src]
_conn: &DbConnection,
_db_list: &[Identity],
core_list: Vec<Identity>
) -> Result<Vec<Identity>, Error>
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>
[src]
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 get_order(
order: Option<OrderTypes>,
order_by: Option<String>
) -> (String, bool)
[src]
order: Option<OrderTypes>,
order_by: Option<String>
) -> (String, bool)
fn match_field_by_opt(field: Option<String>) -> Option<String>
[src]
fn insert_into_db_chunked(conn: &DbConnection, db_list: &[D])
[src]
fn insert_into_db_chunked_indexmap(
conn: &DbConnection,
db_list: &IndexMap<u64, D>
)
[src]
conn: &DbConnection,
db_list: &IndexMap<u64, D>
)
fn indexmap_chunks(
indexmap: &IndexMap<u64, D>,
chunk_size: usize,
offset: usize
) -> Vec<D>
[src]
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>
[src]
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>
[src]
conn: &DbConnection,
id_filter: HashMap<String, i32>,
add_nested_items: bool
) -> Result<Option<C>, Error>
impl Debug for Identity
[src]
impl Default for Identity
[src]
impl Fillable for Identity
[src]
impl Filler<Identity, Identity> for Identity
[src]
From Core to DB
fn add_missing_data(&mut self, source: &Identity)
[src]
fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
fn never_replace_data(&mut self, source: &S) where
Self: Debug,
[src]
Self: Debug,
fn replace_data(&mut self, source: &S) where
Self: Debug,
[src]
Self: Debug,
fn check_mergeable(&self, source: &S) -> bool where
S: PartialEq<Self> + Debug,
Self: Debug + Default + PartialEq<Self>,
[src]
S: PartialEq<Self> + Debug,
Self: Debug + Default + PartialEq<Self>,
impl Filler<Identity, Identity> for Identity
[src]
From DB to Core
fn add_missing_data(&mut self, source: &Identity)
[src]
fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
fn never_replace_data(&mut self, source: &S) where
Self: Debug,
[src]
Self: Debug,
fn replace_data(&mut self, source: &S) where
Self: Debug,
[src]
Self: Debug,
fn check_mergeable(&self, source: &S) -> bool where
S: PartialEq<Self> + Debug,
Self: Debug + Default + PartialEq<Self>,
[src]
S: PartialEq<Self> + Debug,
Self: Debug + Default + PartialEq<Self>,
impl HasTable for Identity
[src]
impl Hash for Identity
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'ident> Identifiable for &'ident Identity
[src]
impl<'insert> Insertable<table> for Identity
[src]
type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<name, String>>, Option<Eq<hf_id, i32>>, Option<Eq<race, String>>, Option<Eq<caste, String>>, Option<Eq<birth_year, i32>>, Option<Eq<birth_second, i32>>, Option<Eq<profession, String>>, Option<Eq<entity_id, i32>>, Option<Eq<nemesis_id, i32>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> Insertable<table> for &'insert Identity
[src]
type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<name, &'insert String>>, Option<Eq<hf_id, &'insert i32>>, Option<Eq<race, &'insert String>>, Option<Eq<caste, &'insert String>>, Option<Eq<birth_year, &'insert i32>>, Option<Eq<birth_second, &'insert i32>>, Option<Eq<profession, &'insert String>>, Option<Eq<entity_id, &'insert i32>>, Option<Eq<nemesis_id, &'insert i32>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl PartialEq<Identity> for Identity
[src]
impl PartialEq<Identity> for Identity
[src]
impl PartialEq<Identity> for Identity
[src]
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Identity where
(i32, i32, Option<String>, Option<i32>, Option<String>, Option<String>, Option<i32>, Option<i32>, Option<String>, Option<i32>, Option<i32>): Queryable<__ST, __DB>,
[src]
(i32, i32, Option<String>, Option<i32>, Option<String>, Option<String>, Option<i32>, Option<i32>, Option<String>, Option<i32>, Option<i32>): Queryable<__ST, __DB>,
type Row = <(i32, i32, Option<String>, Option<i32>, Option<String>, Option<String>, Option<i32>, Option<i32>, Option<String>, Option<i32>, Option<i32>) as Queryable<__ST, __DB>>::Row
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
impl<'insert> UndecoratedInsertRecord<table> for Identity
[src]
Auto Trait Implementations
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
&'a Self: AsExpression<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,