pub struct VerifyOtpRequestModel {
pub otp: String,
}
Fields§
§otp: String
Implementations§
Source§impl VerifyOtpRequestModel
impl VerifyOtpRequestModel
pub fn new(otp: String) -> VerifyOtpRequestModel
Trait Implementations§
Source§impl Clone for VerifyOtpRequestModel
impl Clone for VerifyOtpRequestModel
Source§fn clone(&self) -> VerifyOtpRequestModel
fn clone(&self) -> VerifyOtpRequestModel
Returns a copy 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 VerifyOtpRequestModel
impl Debug for VerifyOtpRequestModel
Source§impl Default for VerifyOtpRequestModel
impl Default for VerifyOtpRequestModel
Source§fn default() -> VerifyOtpRequestModel
fn default() -> VerifyOtpRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerifyOtpRequestModel
impl<'de> Deserialize<'de> for VerifyOtpRequestModel
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
Source§impl PartialEq for VerifyOtpRequestModel
impl PartialEq for VerifyOtpRequestModel
Source§impl Serialize for VerifyOtpRequestModel
impl Serialize for VerifyOtpRequestModel
impl StructuralPartialEq for VerifyOtpRequestModel
Auto Trait Implementations§
impl Freeze for VerifyOtpRequestModel
impl RefUnwindSafe for VerifyOtpRequestModel
impl Send for VerifyOtpRequestModel
impl Sync for VerifyOtpRequestModel
impl Unpin for VerifyOtpRequestModel
impl UnwindSafe for VerifyOtpRequestModel
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