pub struct NewTask { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'insert> Insertable<table> for &'insert NewTask
impl<'insert> Insertable<table> for &'insert NewTask
Source§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>
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
Insert
self
into a given table. Read moreSource§impl Insertable<table> for NewTask
impl Insertable<table> for NewTask
Source§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>
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
Insert
self
into a given table. Read moreimpl Eq for NewTask
impl StructuralPartialEq for NewTask
impl UndecoratedInsertRecord<table> for NewTask
Auto Trait Implementations§
impl Freeze for NewTask
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more