pub struct ChangePasswordForm {
pub current_password: String,
pub new_password: String,
pub new_password_confirmation: String,
}Fields§
§current_password: String§new_password: String§new_password_confirmation: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ChangePasswordForm
impl<'de> Deserialize<'de> for ChangePasswordForm
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChangePasswordForm, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChangePasswordForm, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ChangePasswordForm
impl Serialize for ChangePasswordForm
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl Validate for ChangePasswordForm
impl Validate for ChangePasswordForm
Source§impl<'v_a> ValidateArgs<'v_a> for ChangePasswordForm
impl<'v_a> ValidateArgs<'v_a> for ChangePasswordForm
type Args = ()
fn validate_with_args( &self, args: <ChangePasswordForm as ValidateArgs<'v_a>>::Args, ) -> Result<(), ValidationErrors>
Auto Trait Implementations§
impl Forget for ChangePasswordForm
impl Freeze for ChangePasswordForm
impl Move for ChangePasswordForm
impl RefUnwindSafe for ChangePasswordForm
impl Send for ChangePasswordForm
impl Sync for ChangePasswordForm
impl Unpin for ChangePasswordForm
impl UnsafeUnpin for ChangePasswordForm
impl UnwindSafe for ChangePasswordForm
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more