pub struct OtpSendResponse {
pub status: String,
pub phone: Option<String>,
pub expires_in: Option<i64>,
pub resend_available_in: Option<i64>,
pub delivery_channel: Option<String>,
}Fields§
§status: String§phone: Option<String>§expires_in: Option<i64>§resend_available_in: Option<i64>§delivery_channel: Option<String>Trait Implementations§
Source§impl Clone for OtpSendResponse
impl Clone for OtpSendResponse
Source§fn clone(&self) -> OtpSendResponse
fn clone(&self) -> OtpSendResponse
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 OtpSendResponse
impl Debug for OtpSendResponse
Source§impl<'de> Deserialize<'de> for OtpSendResponse
impl<'de> Deserialize<'de> for OtpSendResponse
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 OtpSendResponse
impl RefUnwindSafe for OtpSendResponse
impl Send for OtpSendResponse
impl Sync for OtpSendResponse
impl Unpin for OtpSendResponse
impl UnsafeUnpin for OtpSendResponse
impl UnwindSafe for OtpSendResponse
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