pub struct NewUpdateBuild<'a> {
pub quantity: &'a i32,
pub complete: &'a i32,
pub notes: Option<&'a str>,
pub part_ver: &'a i32,
pub part_id: &'a i32,
}Fields§
§quantity: &'a i32§complete: &'a i32§notes: Option<&'a str>§part_ver: &'a i32§part_id: &'a i32Trait Implementations§
Source§impl<'a, 'update> AsChangeset for &'update NewUpdateBuild<'a>
impl<'a, 'update> AsChangeset for &'update NewUpdateBuild<'a>
Source§type Changeset = <(Eq<quantity, <&'update &'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>, Eq<complete, <&'update &'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>, Option<Eq<notes, <&'update &'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Eq<part_ver, <&'update &'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>, Eq<part_id, <&'update &'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
type Changeset = <(Eq<quantity, <&'update &'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>, Eq<complete, <&'update &'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>, Option<Eq<notes, <&'update &'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Eq<part_ver, <&'update &'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>, Eq<part_id, <&'update &'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self into the actual update statement being executedSource§impl<'a, 'update> AsChangeset for NewUpdateBuild<'a>
impl<'a, 'update> AsChangeset for NewUpdateBuild<'a>
Source§type Changeset = <(Eq<quantity, <&'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>, Eq<complete, <&'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>, Option<Eq<notes, <&'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Eq<part_ver, <&'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>, Eq<part_id, <&'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
type Changeset = <(Eq<quantity, <&'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>, Eq<complete, <&'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>, Option<Eq<notes, <&'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Eq<part_ver, <&'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>, Eq<part_id, <&'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self into the actual update statement being executedSource§impl<'a> Debug for NewUpdateBuild<'a>
impl<'a> Debug for NewUpdateBuild<'a>
Source§impl<'a, 'insert> Insertable<table> for &'insert NewUpdateBuild<'a>
impl<'a, 'insert> Insertable<table> for &'insert NewUpdateBuild<'a>
Source§type Values = <(Option<Eq<quantity, <&'insert &'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>>, Option<Eq<complete, <&'insert &'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>>, Option<Eq<notes, <&'insert &'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Option<Eq<part_ver, <&'insert &'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>>, Option<Eq<part_id, <&'insert &'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<quantity, <&'insert &'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>>, Option<Eq<complete, <&'insert &'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>>, Option<Eq<notes, <&'insert &'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Option<Eq<part_ver, <&'insert &'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>>, Option<Eq<part_id, <&'insert &'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The
VALUES clause to insert these records Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
Insert
self into a given table. Read moreSource§impl<'a, 'insert> Insertable<table> for NewUpdateBuild<'a>
impl<'a, 'insert> Insertable<table> for NewUpdateBuild<'a>
Source§type Values = <(Option<Eq<quantity, <&'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>>, Option<Eq<complete, <&'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>>, Option<Eq<notes, <&'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Option<Eq<part_ver, <&'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>>, Option<Eq<part_id, <&'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<quantity, <&'a i32 as AsExpression<<quantity as Expression>::SqlType>>::Expression>>, Option<Eq<complete, <&'a i32 as AsExpression<<complete as Expression>::SqlType>>::Expression>>, Option<Eq<notes, <&'a str as AsExpression<<notes as Expression>::SqlType>>::Expression>>, Option<Eq<part_ver, <&'a i32 as AsExpression<<part_ver as Expression>::SqlType>>::Expression>>, Option<Eq<part_id, <&'a i32 as AsExpression<<part_id as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The
VALUES clause to insert these records Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
Insert
self into a given table. Read moreimpl<'a, 'insert> UndecoratedInsertRecord<table> for NewUpdateBuild<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewUpdateBuild<'a>
impl<'a> RefUnwindSafe for NewUpdateBuild<'a>
impl<'a> Send for NewUpdateBuild<'a>
impl<'a> Sync for NewUpdateBuild<'a>
impl<'a> Unpin for NewUpdateBuild<'a>
impl<'a> UnsafeUnpin for NewUpdateBuild<'a>
impl<'a> UnwindSafe for NewUpdateBuild<'a>
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> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
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>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self to an expression for Diesel’s query builder. Read more