pub struct NewRegistration<'a> {
pub feed: &'a str,
pub guid: &'a str,
}Fields§
§feed: &'a str§guid: &'a strTrait Implementations§
Source§impl<'a, 'insert> Insertable<table> for &'insert NewRegistration<'a>
impl<'a, 'insert> Insertable<table> for &'insert NewRegistration<'a>
Source§type Values = <(Option<Eq<feed, <&'insert &'a str as AsExpression<<feed as Expression>::SqlType>>::Expression>>, Option<Eq<guid, <&'insert &'a str as AsExpression<<guid as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<feed, <&'insert &'a str as AsExpression<<feed as Expression>::SqlType>>::Expression>>, Option<Eq<guid, <&'insert &'a str as AsExpression<<guid 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 NewRegistration<'a>
impl<'a, 'insert> Insertable<table> for NewRegistration<'a>
Source§type Values = <(Option<Eq<feed, <&'a str as AsExpression<<feed as Expression>::SqlType>>::Expression>>, Option<Eq<guid, <&'a str as AsExpression<<guid as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<feed, <&'a str as AsExpression<<feed as Expression>::SqlType>>::Expression>>, Option<Eq<guid, <&'a str as AsExpression<<guid 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 NewRegistration<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewRegistration<'a>
impl<'a> RefUnwindSafe for NewRegistration<'a>
impl<'a> Send for NewRegistration<'a>
impl<'a> Sync for NewRegistration<'a>
impl<'a> Unpin for NewRegistration<'a>
impl<'a> UnwindSafe for NewRegistration<'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