Struct database::repository::models::NewRequirement
source · Fields§
§teams: &'a str
§indexs: i32
Trait Implementations§
source§impl<'a, 'insert> Insertable<table> for &'insert NewRequirement<'a>
impl<'a, 'insert> Insertable<table> for &'insert NewRequirement<'a>
§type Values = <(Option<Grouped<Eq<teams, <&'insert &'a str as AsExpression<<teams as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<indexs, <&'insert i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<teams, <&'insert &'a str as AsExpression<<teams as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<indexs, <&'insert i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn values(
self
) -> <(Option<Eq<teams, &'insert &'a str>>, Option<Eq<indexs, &'insert i32>>) as Insertable<table>>::Values
fn values(
self
) -> <(Option<Eq<teams, &'insert &'a str>>, Option<Eq<indexs, &'insert i32>>) as Insertable<table>>::Values
Construct
Self::Values
Read more§fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
T: Table,
Self: Sized,
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
T: Table,
Self: Sized,
Insert
self
into a given table. Read moresource§impl<'a> Insertable<table> for NewRequirement<'a>
impl<'a> Insertable<table> for NewRequirement<'a>
§type Values = <(Option<Grouped<Eq<teams, <&'a str as AsExpression<<teams as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<indexs, <i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<teams, <&'a str as AsExpression<<teams as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<indexs, <i32 as AsExpression<<indexs as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn values(
self
) -> <(Option<Eq<teams, &'a str>>, Option<Eq<indexs, i32>>) as Insertable<table>>::Values
fn values(
self
) -> <(Option<Eq<teams, &'a str>>, Option<Eq<indexs, i32>>) as Insertable<table>>::Values
Construct
Self::Values
Read more§fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
T: Table,
Self: Sized,
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
T: Table,
Self: Sized,
Insert
self
into a given table. Read more