pub struct EmailRequestModel {
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,
pub new_master_password_hash: String,
pub token: String,
pub key: String,
}
Fields§
§master_password_hash: Option<String>
§otp: Option<String>
§auth_request_access_code: Option<String>
§secret: Option<String>
§new_email: String
§new_master_password_hash: String
§token: String
§key: String
Implementations§
Trait Implementations§
source§impl Clone for EmailRequestModel
impl Clone for EmailRequestModel
source§fn clone(&self) -> EmailRequestModel
fn clone(&self) -> EmailRequestModel
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 EmailRequestModel
impl Debug for EmailRequestModel
source§impl Default for EmailRequestModel
impl Default for EmailRequestModel
source§fn default() -> EmailRequestModel
fn default() -> EmailRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EmailRequestModel
impl<'de> Deserialize<'de> for EmailRequestModel
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<EmailRequestModel> for EmailRequestModel
impl PartialEq<EmailRequestModel> for EmailRequestModel
source§fn eq(&self, other: &EmailRequestModel) -> bool
fn eq(&self, other: &EmailRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.