Struct database::repository::models::NewTeamReport
source · Fields§
§teams: &'a str
§sprint_num: i32
Trait Implementations§
source§impl<'a> Clone for NewTeamReport<'a>
impl<'a> Clone for NewTeamReport<'a>
source§fn clone(&self) -> NewTeamReport<'a>
fn clone(&self) -> NewTeamReport<'a>
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<'a, 'insert> Insertable<table> for &'insert NewTeamReport<'a>
impl<'a, 'insert> Insertable<table> for &'insert NewTeamReport<'a>
§type Values = <(Option<Grouped<Eq<teams, <&'insert &'a str as AsExpression<<teams as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sprint_num, <&'insert i32 as AsExpression<<sprint_num 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<sprint_num, <&'insert i32 as AsExpression<<sprint_num 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<sprint_num, &'insert i32>>) as Insertable<table>>::Values
fn values(
self
) -> <(Option<Eq<teams, &'insert &'a str>>, Option<Eq<sprint_num, &'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 NewTeamReport<'a>
impl<'a> Insertable<table> for NewTeamReport<'a>
§type Values = <(Option<Grouped<Eq<teams, <&'a str as AsExpression<<teams as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sprint_num, <i32 as AsExpression<<sprint_num 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<sprint_num, <i32 as AsExpression<<sprint_num 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<sprint_num, i32>>) as Insertable<table>>::Values
fn values(
self
) -> <(Option<Eq<teams, &'a str>>, Option<Eq<sprint_num, 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