pub struct PasswordResetEvent {
pub user: UserView,
pub request: Option<AuthRequest>,
}Expand description
Type alias for the async password-reset callback to keep Clippy happy. The user found before the password write and the original endpoint request.
Fields§
§user: UserView§request: Option<AuthRequest>Trait Implementations§
Source§impl Clone for PasswordResetEvent
impl Clone for PasswordResetEvent
Source§fn clone(&self) -> PasswordResetEvent
fn clone(&self) -> PasswordResetEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PasswordResetEvent
impl !UnwindSafe for PasswordResetEvent
impl Freeze for PasswordResetEvent
impl Send for PasswordResetEvent
impl Sync for PasswordResetEvent
impl Unpin for PasswordResetEvent
impl UnsafeUnpin for PasswordResetEvent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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