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