pub enum EmailVerifyPurpose {
LoginSetup(EmailVerifyPurposeLoginSetup),
LoginChange,
Passport,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for EmailVerifyPurpose
impl Clone for EmailVerifyPurpose
Source§fn clone(&self) -> EmailVerifyPurpose
fn clone(&self) -> EmailVerifyPurpose
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 EmailVerifyPurpose
impl Debug for EmailVerifyPurpose
Source§impl Deserializable for EmailVerifyPurpose
impl Deserializable for EmailVerifyPurpose
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<EmailVerifyPurposeLoginChange> for EmailVerifyPurpose
impl From<EmailVerifyPurposeLoginChange> for EmailVerifyPurpose
Source§fn from(_x: EmailVerifyPurposeLoginChange) -> Self
fn from(_x: EmailVerifyPurposeLoginChange) -> Self
Converts to this type from the input type.
Source§impl From<EmailVerifyPurposeLoginSetup> for EmailVerifyPurpose
impl From<EmailVerifyPurposeLoginSetup> for EmailVerifyPurpose
Source§fn from(x: EmailVerifyPurposeLoginSetup) -> Self
fn from(x: EmailVerifyPurposeLoginSetup) -> Self
Converts to this type from the input type.
Source§impl From<EmailVerifyPurposePassport> for EmailVerifyPurpose
impl From<EmailVerifyPurposePassport> for EmailVerifyPurpose
Source§fn from(_x: EmailVerifyPurposePassport) -> Self
fn from(_x: EmailVerifyPurposePassport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmailVerifyPurpose
impl PartialEq for EmailVerifyPurpose
Source§impl Serializable for EmailVerifyPurpose
impl Serializable for EmailVerifyPurpose
Source§impl TryFrom<EmailVerifyPurpose> for EmailVerifyPurposeLoginSetup
impl TryFrom<EmailVerifyPurpose> for EmailVerifyPurposeLoginSetup
Source§type Error = EmailVerifyPurpose
type Error = EmailVerifyPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for EmailVerifyPurpose
Auto Trait Implementations§
impl Freeze for EmailVerifyPurpose
impl RefUnwindSafe for EmailVerifyPurpose
impl Send for EmailVerifyPurpose
impl Sync for EmailVerifyPurpose
impl Unpin for EmailVerifyPurpose
impl UnsafeUnpin for EmailVerifyPurpose
impl UnwindSafe for EmailVerifyPurpose
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