Struct database::repository::models::IndividualReport
source · pub struct IndividualReport {
pub email: String,
pub sprint_num: i32,
pub monday_time: i32,
pub tuesday_time: i32,
pub wednesday_time: i32,
pub thursday_time: i32,
pub friday_time: i32,
pub saturday_time: i32,
pub sunday_time: i32,
pub discrepancy: String,
pub request: String,
}
Fields§
§email: String
§sprint_num: i32
§monday_time: i32
§tuesday_time: i32
§wednesday_time: i32
§thursday_time: i32
§friday_time: i32
§saturday_time: i32
§sunday_time: i32
§discrepancy: String
§request: String
Trait Implementations§
source§impl<'update> AsChangeset for &'update IndividualReport
impl<'update> AsChangeset for &'update IndividualReport
§type Changeset = <(Grouped<Eq<email, <&'update String as AsExpression<<email as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <&'update i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<monday_time, <&'update i32 as AsExpression<<monday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<tuesday_time, <&'update i32 as AsExpression<<tuesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<wednesday_time, <&'update i32 as AsExpression<<wednesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<thursday_time, <&'update i32 as AsExpression<<thursday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<friday_time, <&'update i32 as AsExpression<<friday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<saturday_time, <&'update i32 as AsExpression<<saturday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<sunday_time, <&'update i32 as AsExpression<<sunday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<discrepancy, <&'update String as AsExpression<<discrepancy as Expression>::SqlType>>::Expression>>, Grouped<Eq<request, <&'update String as AsExpression<<request as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<email, <&'update String as AsExpression<<email as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <&'update i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<monday_time, <&'update i32 as AsExpression<<monday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<tuesday_time, <&'update i32 as AsExpression<<tuesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<wednesday_time, <&'update i32 as AsExpression<<wednesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<thursday_time, <&'update i32 as AsExpression<<thursday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<friday_time, <&'update i32 as AsExpression<<friday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<saturday_time, <&'update i32 as AsExpression<<saturday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<sunday_time, <&'update i32 as AsExpression<<sunday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<discrepancy, <&'update String as AsExpression<<discrepancy as Expression>::SqlType>>::Expression>>, Grouped<Eq<request, <&'update String as AsExpression<<request as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
The update statement this type represents
source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self
into the actual update statement being executedsource§impl AsChangeset for IndividualReport
impl AsChangeset for IndividualReport
§type Changeset = <(Grouped<Eq<email, <String as AsExpression<<email as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<monday_time, <i32 as AsExpression<<monday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<tuesday_time, <i32 as AsExpression<<tuesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<wednesday_time, <i32 as AsExpression<<wednesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<thursday_time, <i32 as AsExpression<<thursday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<friday_time, <i32 as AsExpression<<friday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<saturday_time, <i32 as AsExpression<<saturday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<sunday_time, <i32 as AsExpression<<sunday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<discrepancy, <String as AsExpression<<discrepancy as Expression>::SqlType>>::Expression>>, Grouped<Eq<request, <String as AsExpression<<request as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<email, <String as AsExpression<<email as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<monday_time, <i32 as AsExpression<<monday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<tuesday_time, <i32 as AsExpression<<tuesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<wednesday_time, <i32 as AsExpression<<wednesday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<thursday_time, <i32 as AsExpression<<thursday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<friday_time, <i32 as AsExpression<<friday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<saturday_time, <i32 as AsExpression<<saturday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<sunday_time, <i32 as AsExpression<<sunday_time as Expression>::SqlType>>::Expression>>, Grouped<Eq<discrepancy, <String as AsExpression<<discrepancy as Expression>::SqlType>>::Expression>>, Grouped<Eq<request, <String as AsExpression<<request as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
The update statement this type represents
source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self
into the actual update statement being executedsource§impl Clone for IndividualReport
impl Clone for IndividualReport
source§fn clone(&self) -> IndividualReport
fn clone(&self) -> IndividualReport
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IndividualReport
impl Debug for IndividualReport
source§impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10), __DB> for IndividualReportwhere
(String, i32, i32, i32, i32, i32, i32, i32, i32, String, String): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10), __DB>,
impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10), __DB> for IndividualReportwhere
(String, i32, i32, i32, i32, i32, i32, i32, i32, String, String): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10), __DB>,
Auto Trait Implementations§
impl RefUnwindSafe for IndividualReport
impl Send for IndividualReport
impl Sync for IndividualReport
impl Unpin for IndividualReport
impl UnwindSafe for IndividualReport
Blanket Implementations§
§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.