pub struct PasswordResetRequest<'a> {
pub email: &'a str,
}
Expand description
Represents the data required to request a password reset for a user.
This struct is typically serialized and sent as the body of a password reset request.
It includes the email
address of the user requesting the reset.
Fields§
§email: &'a str
Trait Implementations§
Source§impl<'a> Debug for PasswordResetRequest<'a>
impl<'a> Debug for PasswordResetRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for PasswordResetRequest<'a>
impl<'a> RefUnwindSafe for PasswordResetRequest<'a>
impl<'a> Send for PasswordResetRequest<'a>
impl<'a> Sync for PasswordResetRequest<'a>
impl<'a> Unpin for PasswordResetRequest<'a>
impl<'a> UnwindSafe for PasswordResetRequest<'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