pub struct Verification {Show 15 fields
pub id: String,
pub status: VerificationStatus,
pub phone: String,
pub delivery_status: DeliveryStatus,
pub attempts: i32,
pub max_attempts: i32,
pub channel: Channel,
pub expires_at: String,
pub verified_at: Option<String>,
pub created_at: String,
pub sandbox: bool,
pub app_name: Option<String>,
pub template_id: Option<String>,
pub profile_id: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
}Fields§
§id: String§status: VerificationStatus§phone: String§delivery_status: DeliveryStatus§attempts: i32§max_attempts: i32§channel: Channel§expires_at: String§verified_at: Option<String>§created_at: String§sandbox: bool§app_name: Option<String>§template_id: Option<String>§profile_id: Option<String>§metadata: Option<HashMap<String, Value>>Implementations§
Source§impl Verification
impl Verification
pub fn is_pending(&self) -> bool
pub fn is_verified(&self) -> bool
pub fn is_expired(&self) -> bool
Trait Implementations§
Source§impl Clone for Verification
impl Clone for Verification
Source§fn clone(&self) -> Verification
fn clone(&self) -> Verification
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 Verification
impl Debug for Verification
Source§impl<'de> Deserialize<'de> for Verification
impl<'de> Deserialize<'de> for Verification
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 Verification
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnsafeUnpin for Verification
impl UnwindSafe for Verification
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