pub struct NewTask { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'insert> Insertable<table> for &'insert NewTask
impl<'insert> Insertable<table> for &'insert NewTask
§type Values = <(Option<Grouped<Eq<metadata, <&'insert Value as AsExpression<<metadata as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<task_type, <&'insert String as AsExpression<<task_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<uniq_hash, <&'insert String as AsExpression<<uniq_hash as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<scheduled_at, <&'insert DateTime<Utc> as AsExpression<<scheduled_at as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<metadata, <&'insert Value as AsExpression<<metadata as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<task_type, <&'insert String as AsExpression<<task_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<uniq_hash, <&'insert String as AsExpression<<uniq_hash as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<scheduled_at, <&'insert DateTime<Utc> as AsExpression<<scheduled_at as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn values(
self
) -> <(Option<Eq<metadata, &'insert Value>>, Option<Eq<task_type, &'insert String>>, Option<Eq<uniq_hash, &'insert String>>, Option<Eq<scheduled_at, &'insert DateTime<Utc>>>) as Insertable<table>>::Values
fn values( self ) -> <(Option<Eq<metadata, &'insert Value>>, Option<Eq<task_type, &'insert String>>, Option<Eq<uniq_hash, &'insert String>>, Option<Eq<scheduled_at, &'insert DateTime<Utc>>>) as Insertable<table>>::Values
Construct
Self::Values
Read moresource§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 Insertable<table> for NewTask
impl Insertable<table> for NewTask
§type Values = <(Option<Grouped<Eq<metadata, <Value as AsExpression<<metadata as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<task_type, <String as AsExpression<<task_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<uniq_hash, <String as AsExpression<<uniq_hash as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<scheduled_at, <DateTime<Utc> as AsExpression<<scheduled_at as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<metadata, <Value as AsExpression<<metadata as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<task_type, <String as AsExpression<<task_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<uniq_hash, <String as AsExpression<<uniq_hash as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<scheduled_at, <DateTime<Utc> as AsExpression<<scheduled_at as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn values(
self
) -> <(Option<Eq<metadata, Value>>, Option<Eq<task_type, String>>, Option<Eq<uniq_hash, String>>, Option<Eq<scheduled_at, DateTime<Utc>>>) as Insertable<table>>::Values
fn values( self ) -> <(Option<Eq<metadata, Value>>, Option<Eq<task_type, String>>, Option<Eq<uniq_hash, String>>, Option<Eq<scheduled_at, DateTime<Utc>>>) as Insertable<table>>::Values
Construct
Self::Values
Read moresource§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 PartialEq<NewTask> for NewTask
impl PartialEq<NewTask> for NewTask
impl Eq for NewTask
impl StructuralEq for NewTask
impl StructuralPartialEq for NewTask
impl UndecoratedInsertRecord<table> for NewTask
Auto Trait Implementations§
impl RefUnwindSafe for NewTask
impl Send for NewTask
impl Sync for NewTask
impl Unpin for NewTask
impl UnwindSafe for NewTask
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more