pub struct AccountVerification {
pub email_verified: bool,
pub phone_verified: bool,
pub identity_verified: bool,
}Expand description
Account verification status.
Fields§
§email_verified: boolWhether email is verified.
phone_verified: boolWhether phone is verified.
identity_verified: boolWhether identity is verified.
Implementations§
Source§impl AccountVerification
impl AccountVerification
Sourcepub fn is_fully_verified(&self) -> bool
pub fn is_fully_verified(&self) -> bool
Returns true if fully verified.
Trait Implementations§
Source§impl Clone for AccountVerification
impl Clone for AccountVerification
Source§fn clone(&self) -> AccountVerification
fn clone(&self) -> AccountVerification
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 AccountVerification
impl Debug for AccountVerification
Source§impl Default for AccountVerification
impl Default for AccountVerification
Source§fn default() -> AccountVerification
fn default() -> AccountVerification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountVerification
impl<'de> Deserialize<'de> for AccountVerification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccountVerification
impl RefUnwindSafe for AccountVerification
impl Send for AccountVerification
impl Sync for AccountVerification
impl Unpin for AccountVerification
impl UnwindSafe for AccountVerification
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