pub struct UpdatePassword {
pub password_hash: Option<String>,
}Fields§
§password_hash: Option<String>Trait Implementations§
Source§impl<'update> AsChangeset for &'update UpdatePassword
impl<'update> AsChangeset for &'update UpdatePassword
Source§type Changeset = <(Option<Grouped<Eq<password_hash, <&'update String as AsExpression<<password_hash as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
type Changeset = <(Option<Grouped<Eq<password_hash, <&'update String as AsExpression<<password_hash as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> <Self as AsChangeset>::Changeset
fn as_changeset(self) -> <Self as AsChangeset>::Changeset
Convert
self into the actual update statement being executedSource§impl AsChangeset for UpdatePassword
impl AsChangeset for UpdatePassword
Source§type Changeset = <(Option<Grouped<Eq<password_hash, <String as AsExpression<<password_hash as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
type Changeset = <(Option<Grouped<Eq<password_hash, <String as AsExpression<<password_hash as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> <Self as AsChangeset>::Changeset
fn as_changeset(self) -> <Self as AsChangeset>::Changeset
Convert
self into the actual update statement being executedSource§impl Clone for UpdatePassword
impl Clone for UpdatePassword
Source§fn clone(&self) -> UpdatePassword
fn clone(&self) -> UpdatePassword
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdatePassword
impl Debug for UpdatePassword
Source§impl<'de> Deserialize<'de> for UpdatePassword
impl<'de> Deserialize<'de> for UpdatePassword
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdatePassword
impl RefUnwindSafe for UpdatePassword
impl Send for UpdatePassword
impl Sync for UpdatePassword
impl Unpin for UpdatePassword
impl UnsafeUnpin for UpdatePassword
impl UnwindSafe for UpdatePassword
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