Struct database::repository::models::Requirement
source · Fields§
§teams: String
§indexs: i32
§description: String
Trait Implementations§
source§impl<'update> AsChangeset for &'update Requirement
impl<'update> AsChangeset for &'update Requirement
§type Changeset = <(Grouped<Eq<teams, <&'update String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<indexs, <&'update i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>, Grouped<Eq<description, <&'update String as AsExpression<<description as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<teams, <&'update String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<indexs, <&'update i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>, Grouped<Eq<description, <&'update String as AsExpression<<description 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 Requirement
impl AsChangeset for Requirement
§type Changeset = <(Grouped<Eq<teams, <String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<indexs, <i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>, Grouped<Eq<description, <String as AsExpression<<description as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<teams, <String as AsExpression<<teams as Expression>::SqlType>>::Expression>>, Grouped<Eq<indexs, <i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>, Grouped<Eq<description, <String as AsExpression<<description 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 Requirement
impl Clone for Requirement
source§fn clone(&self) -> Requirement
fn clone(&self) -> Requirement
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 Requirement
impl Debug for Requirement
source§impl<__DB: Backend, __ST0, __ST1, __ST2> Queryable<(__ST0, __ST1, __ST2), __DB> for Requirementwhere
(String, i32, String): FromStaticSqlRow<(__ST0, __ST1, __ST2), __DB>,
impl<__DB: Backend, __ST0, __ST1, __ST2> Queryable<(__ST0, __ST1, __ST2), __DB> for Requirementwhere
(String, i32, String): FromStaticSqlRow<(__ST0, __ST1, __ST2), __DB>,
Auto Trait Implementations§
impl RefUnwindSafe for Requirement
impl Send for Requirement
impl Sync for Requirement
impl Unpin for Requirement
impl UnwindSafe for Requirement
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.