Struct database::repository::models::TeamReport
source · pub struct TeamReport {Show 13 fields
pub teams: String,
pub sprint_num: i32,
pub understand_easiest: String,
pub understand_hardest: String,
pub approach_easiest: String,
pub approach_hardest: String,
pub solve_easiest: String,
pub solve_hardest: String,
pub evaluate_easiest: String,
pub evaluate_hardest: String,
pub completion: i32,
pub contact: String,
pub comments: String,
}
Fields§
§teams: String
§sprint_num: i32
§understand_easiest: String
§understand_hardest: String
§approach_easiest: String
§approach_hardest: String
§solve_easiest: String
§solve_hardest: String
§evaluate_easiest: String
§evaluate_hardest: String
§completion: i32
§contact: String
§comments: String
Trait Implementations§
source§impl<'update> AsChangeset for &'update TeamReport
impl<'update> AsChangeset for &'update TeamReport
§type Changeset = <(Grouped<Eq<teams, <&'update String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <&'update i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_easiest, <&'update String as AsExpression<<understand_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_hardest, <&'update String as AsExpression<<understand_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_easiest, <&'update String as AsExpression<<approach_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_hardest, <&'update String as AsExpression<<approach_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_easiest, <&'update String as AsExpression<<solve_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_hardest, <&'update String as AsExpression<<solve_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_easiest, <&'update String as AsExpression<<evaluate_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_hardest, <&'update String as AsExpression<<evaluate_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<completion, <&'update i32 as AsExpression<<completion as Expression>::SqlType>>::Expression>>, Grouped<Eq<contact, <&'update String as AsExpression<<contact as Expression>::SqlType>>::Expression>>, Grouped<Eq<comments, <&'update String as AsExpression<<comments as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<teams, <&'update String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <&'update i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_easiest, <&'update String as AsExpression<<understand_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_hardest, <&'update String as AsExpression<<understand_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_easiest, <&'update String as AsExpression<<approach_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_hardest, <&'update String as AsExpression<<approach_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_easiest, <&'update String as AsExpression<<solve_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_hardest, <&'update String as AsExpression<<solve_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_easiest, <&'update String as AsExpression<<evaluate_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_hardest, <&'update String as AsExpression<<evaluate_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<completion, <&'update i32 as AsExpression<<completion as Expression>::SqlType>>::Expression>>, Grouped<Eq<contact, <&'update String as AsExpression<<contact as Expression>::SqlType>>::Expression>>, Grouped<Eq<comments, <&'update String as AsExpression<<comments 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 TeamReport
impl AsChangeset for TeamReport
§type Changeset = <(Grouped<Eq<teams, <String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_easiest, <String as AsExpression<<understand_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_hardest, <String as AsExpression<<understand_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_easiest, <String as AsExpression<<approach_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_hardest, <String as AsExpression<<approach_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_easiest, <String as AsExpression<<solve_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_hardest, <String as AsExpression<<solve_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_easiest, <String as AsExpression<<evaluate_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_hardest, <String as AsExpression<<evaluate_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<completion, <i32 as AsExpression<<completion as Expression>::SqlType>>::Expression>>, Grouped<Eq<contact, <String as AsExpression<<contact as Expression>::SqlType>>::Expression>>, Grouped<Eq<comments, <String as AsExpression<<comments as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<teams, <String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_easiest, <String as AsExpression<<understand_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<understand_hardest, <String as AsExpression<<understand_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_easiest, <String as AsExpression<<approach_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<approach_hardest, <String as AsExpression<<approach_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_easiest, <String as AsExpression<<solve_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<solve_hardest, <String as AsExpression<<solve_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_easiest, <String as AsExpression<<evaluate_easiest as Expression>::SqlType>>::Expression>>, Grouped<Eq<evaluate_hardest, <String as AsExpression<<evaluate_hardest as Expression>::SqlType>>::Expression>>, Grouped<Eq<completion, <i32 as AsExpression<<completion as Expression>::SqlType>>::Expression>>, Grouped<Eq<contact, <String as AsExpression<<contact as Expression>::SqlType>>::Expression>>, Grouped<Eq<comments, <String as AsExpression<<comments 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 TeamReport
impl Clone for TeamReport
source§fn clone(&self) -> TeamReport
fn clone(&self) -> TeamReport
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 TeamReport
impl Debug for TeamReport
source§impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12), __DB> for TeamReportwhere
(String, i32, String, String, String, String, String, String, String, String, i32, String, String): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12), __DB>,
impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12), __DB> for TeamReportwhere
(String, i32, String, String, String, String, String, String, String, String, i32, String, String): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12), __DB>,
Auto Trait Implementations§
impl RefUnwindSafe for TeamReport
impl Send for TeamReport
impl Sync for TeamReport
impl Unpin for TeamReport
impl UnwindSafe for TeamReport
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.