[−][src]Struct webdev_lib::chemicals::models::PartialChemical
Fields
name: Option<String>
purpose: Option<String>
company_name: Option<String>
ingredients: Option<String>
manual_link: Option<String>
Trait Implementations
impl<'update> AsChangeset for &'update PartialChemical
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Option<Eq<name, &'update String>>, Option<Eq<purpose, &'update String>>, Option<Eq<company_name, &'update String>>, Option<Eq<ingredients, &'update String>>, Option<Eq<manual_link, &'update String>>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl<'update> AsChangeset for PartialChemical
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Option<Eq<name, String>>, Option<Eq<purpose, String>>, Option<Eq<company_name, String>>, Option<Eq<ingredients, String>>, Option<Eq<manual_link, String>>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl Serialize for PartialChemical
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for PartialChemical
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for PartialChemical
impl Sync for PartialChemical
impl Send for PartialChemical
impl UnwindSafe for PartialChemical
impl RefUnwindSafe for PartialChemical
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>,