pub struct ResendOtpData {
pub otp_token: String,
}Expand description
data payload for a resend-OTP response.
Fields§
§otp_token: StringNew OTP token issued to the user.
Trait Implementations§
Source§impl Clone for ResendOtpData
impl Clone for ResendOtpData
Source§fn clone(&self) -> ResendOtpData
fn clone(&self) -> ResendOtpData
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 ResendOtpData
impl Debug for ResendOtpData
Source§impl<'de> Deserialize<'de> for ResendOtpData
impl<'de> Deserialize<'de> for ResendOtpData
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 ResendOtpData
impl RefUnwindSafe for ResendOtpData
impl Send for ResendOtpData
impl Sync for ResendOtpData
impl Unpin for ResendOtpData
impl UnsafeUnpin for ResendOtpData
impl UnwindSafe for ResendOtpData
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