[−][src]Struct webdev_lib::chemicals::models::NewChemical   
Fields
name: Stringpurpose: Stringcompany_name: Stringingredients: Stringmanual_link: StringTrait Implementations
impl<'insert> Insertable<table> for NewChemical[src]
type Values = <(Option<Eq<name, String>>, Option<Eq<purpose, String>>, Option<Eq<company_name, String>>, Option<Eq<ingredients, String>>, Option<Eq<manual_link, String>>) as Insertable<table>>::Values
The VALUES clause to insert these records Read more
fn values(self) -> Self::Values[src]
fn insert_into(
    self, 
    table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
Insert self into a given table. Read more
impl<'insert> Insertable<table> for &'insert NewChemical[src]
type Values = <(Option<Eq<name, &'insert String>>, Option<Eq<purpose, &'insert String>>, Option<Eq<company_name, &'insert String>>, Option<Eq<ingredients, &'insert String>>, Option<Eq<manual_link, &'insert String>>) as Insertable<table>>::Values
The VALUES clause to insert these records Read more
fn values(self) -> Self::Values[src]
fn insert_into(
    self, 
    table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
Insert self into a given table. Read more
impl<'insert> UndecoratedInsertRecord<table> for NewChemical[src]
impl Serialize for NewChemical[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for NewChemical[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for NewChemical
impl Sync for NewChemical
impl Send for NewChemical
impl UnwindSafe for NewChemical
impl RefUnwindSafe for NewChemical
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> IntoSql for T[src]
fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, [src]
Self: AsExpression<T>,
Convert self to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, [src]
&'a Self: AsExpression<T>,
Convert &self to an expression for Diesel's query builder. Read more
impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Typeable for T where
    T: Any, [src]
T: Any,
impl<T> Erased for T[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,