pub struct EmailOtpMessage {
pub email: String,
pub otp: String,
pub kind: EmailOtpType,
}Expand description
Message delivered by the application’s OTP sender.
Fields§
§email: StringNormalized recipient email.
otp: StringPlain OTP sent to the mailbox owner.
kind: EmailOtpTypeVerification purpose.
Trait Implementations§
Source§impl Clone for EmailOtpMessage
impl Clone for EmailOtpMessage
Source§impl Debug for EmailOtpMessage
impl Debug for EmailOtpMessage
Auto Trait Implementations§
impl Freeze for EmailOtpMessage
impl RefUnwindSafe for EmailOtpMessage
impl Send for EmailOtpMessage
impl Sync for EmailOtpMessage
impl Unpin for EmailOtpMessage
impl UnsafeUnpin for EmailOtpMessage
impl UnwindSafe for EmailOtpMessage
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