pub struct VerifyOtpRequest {
pub to: String,
pub code: String,
pub ttl: Option<u32>,
pub intent: Option<String>,
}Expand description
Parameters accepted by otp.verify.
Fields§
§to: StringPhone number used when sending the code.
code: StringCode supplied by the user.
ttl: Option<u32>Maximum code age in seconds.
intent: Option<String>Application-defined intent that must match the send request.
Implementations§
Trait Implementations§
Source§impl Clone for VerifyOtpRequest
impl Clone for VerifyOtpRequest
Source§fn clone(&self) -> VerifyOtpRequest
fn clone(&self) -> VerifyOtpRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VerifyOtpRequest
impl Debug for VerifyOtpRequest
Auto Trait Implementations§
impl Freeze for VerifyOtpRequest
impl RefUnwindSafe for VerifyOtpRequest
impl Send for VerifyOtpRequest
impl Sync for VerifyOtpRequest
impl Unpin for VerifyOtpRequest
impl UnsafeUnpin for VerifyOtpRequest
impl UnwindSafe for VerifyOtpRequest
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