Struct database::repository::models::NewSprint
source · Fields§
§sprint_num: i32
§sprint_date: &'a NaiveDate
Trait Implementations§
source§impl<'a, 'insert> Insertable<table> for &'insert NewSprint<'a>
impl<'a, 'insert> Insertable<table> for &'insert NewSprint<'a>
§type Values = <(Option<Grouped<Eq<sprint_num, <&'insert i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sprint_date, <&'insert &'a NaiveDate as AsExpression<<sprint_date as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<sprint_num, <&'insert i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sprint_date, <&'insert &'a NaiveDate as AsExpression<<sprint_date as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn values(
self
) -> <(Option<Eq<sprint_num, &'insert i32>>, Option<Eq<sprint_date, &'insert &'a NaiveDate>>) as Insertable<table>>::Values
fn values(
self
) -> <(Option<Eq<sprint_num, &'insert i32>>, Option<Eq<sprint_date, &'insert &'a NaiveDate>>) 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 NewSprint<'a>
impl<'a> Insertable<table> for NewSprint<'a>
§type Values = <(Option<Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sprint_date, <&'a NaiveDate as AsExpression<<sprint_date as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sprint_date, <&'a NaiveDate as AsExpression<<sprint_date as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn values(
self
) -> <(Option<Eq<sprint_num, i32>>, Option<Eq<sprint_date, &'a NaiveDate>>) as Insertable<table>>::Values
fn values(
self
) -> <(Option<Eq<sprint_num, i32>>, Option<Eq<sprint_date, &'a NaiveDate>>) 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