pub enum EmailVerification {
Code(EmailVerificationCode),
Google(EmailVerificationGoogle),
Apple(EmailVerificationApple),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for EmailVerification
impl Clone for EmailVerification
Source§fn clone(&self) -> EmailVerification
fn clone(&self) -> EmailVerification
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 EmailVerification
impl Debug for EmailVerification
Source§impl Deserializable for EmailVerification
impl Deserializable for EmailVerification
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<EmailVerificationApple> for EmailVerification
impl From<EmailVerificationApple> for EmailVerification
Source§fn from(x: EmailVerificationApple) -> Self
fn from(x: EmailVerificationApple) -> Self
Converts to this type from the input type.
Source§impl From<EmailVerificationCode> for EmailVerification
impl From<EmailVerificationCode> for EmailVerification
Source§fn from(x: EmailVerificationCode) -> Self
fn from(x: EmailVerificationCode) -> Self
Converts to this type from the input type.
Source§impl From<EmailVerificationGoogle> for EmailVerification
impl From<EmailVerificationGoogle> for EmailVerification
Source§fn from(x: EmailVerificationGoogle) -> Self
fn from(x: EmailVerificationGoogle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmailVerification
impl PartialEq for EmailVerification
Source§impl Serializable for EmailVerification
impl Serializable for EmailVerification
Source§impl TryFrom<EmailVerification> for EmailVerificationApple
impl TryFrom<EmailVerification> for EmailVerificationApple
Source§type Error = EmailVerification
type Error = EmailVerification
The type returned in the event of a conversion error.
Source§impl TryFrom<EmailVerification> for EmailVerificationCode
impl TryFrom<EmailVerification> for EmailVerificationCode
Source§type Error = EmailVerification
type Error = EmailVerification
The type returned in the event of a conversion error.
Source§impl TryFrom<EmailVerification> for EmailVerificationGoogle
impl TryFrom<EmailVerification> for EmailVerificationGoogle
Source§type Error = EmailVerification
type Error = EmailVerification
The type returned in the event of a conversion error.
impl StructuralPartialEq for EmailVerification
Auto Trait Implementations§
impl Freeze for EmailVerification
impl RefUnwindSafe for EmailVerification
impl Send for EmailVerification
impl Sync for EmailVerification
impl Unpin for EmailVerification
impl UnsafeUnpin for EmailVerification
impl UnwindSafe for EmailVerification
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