Struct database::repository::models::TeamActivity
source · pub struct TeamActivity {
pub teams: String,
pub email: String,
pub sprint_num: i32,
pub activity_index: i32,
pub answers: String,
}
Fields§
§teams: String
§email: String
§sprint_num: i32
§activity_index: i32
§answers: String
Trait Implementations§
source§impl<'update> AsChangeset for &'update TeamActivity
impl<'update> AsChangeset for &'update TeamActivity
§type Changeset = <(Grouped<Eq<teams, <&'update String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, 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<activity_index, <&'update i32 as AsExpression<<activity_index as Expression>::SqlType>>::Expression>>, Grouped<Eq<answers, <&'update String as AsExpression<<answers as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<teams, <&'update String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, 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<activity_index, <&'update i32 as AsExpression<<activity_index as Expression>::SqlType>>::Expression>>, Grouped<Eq<answers, <&'update String as AsExpression<<answers 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 TeamActivity
impl AsChangeset for TeamActivity
§type Changeset = <(Grouped<Eq<teams, <String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, 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<activity_index, <i32 as AsExpression<<activity_index as Expression>::SqlType>>::Expression>>, Grouped<Eq<answers, <String as AsExpression<<answers as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<teams, <String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, 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<activity_index, <i32 as AsExpression<<activity_index as Expression>::SqlType>>::Expression>>, Grouped<Eq<answers, <String as AsExpression<<answers 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 TeamActivity
impl Clone for TeamActivity
source§fn clone(&self) -> TeamActivity
fn clone(&self) -> TeamActivity
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 TeamActivity
impl Debug for TeamActivity
source§impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4), __DB> for TeamActivitywhere
(String, String, i32, i32, String): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4), __DB>,
impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4), __DB> for TeamActivitywhere
(String, String, i32, i32, String): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4), __DB>,
Auto Trait Implementations§
impl RefUnwindSafe for TeamActivity
impl Send for TeamActivity
impl Sync for TeamActivity
impl Unpin for TeamActivity
impl UnwindSafe for TeamActivity
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.