Struct bitwarden_api_api::models::auth_request_create_request_model::AuthRequestCreateRequestModel
source · pub struct AuthRequestCreateRequestModel {
pub email: String,
pub public_key: String,
pub device_identifier: String,
pub access_code: String,
pub _type: AuthRequestType,
pub fingerprint_phrase: String,
}
Fields§
§email: String
§public_key: String
§device_identifier: String
§access_code: String
§_type: AuthRequestType
§fingerprint_phrase: String
Implementations§
source§impl AuthRequestCreateRequestModel
impl AuthRequestCreateRequestModel
pub fn new( email: String, public_key: String, device_identifier: String, access_code: String, _type: AuthRequestType, fingerprint_phrase: String ) -> AuthRequestCreateRequestModel
Trait Implementations§
source§impl Clone for AuthRequestCreateRequestModel
impl Clone for AuthRequestCreateRequestModel
source§fn clone(&self) -> AuthRequestCreateRequestModel
fn clone(&self) -> AuthRequestCreateRequestModel
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 Default for AuthRequestCreateRequestModel
impl Default for AuthRequestCreateRequestModel
source§fn default() -> AuthRequestCreateRequestModel
fn default() -> AuthRequestCreateRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthRequestCreateRequestModel
impl<'de> Deserialize<'de> for AuthRequestCreateRequestModel
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<AuthRequestCreateRequestModel> for AuthRequestCreateRequestModel
impl PartialEq<AuthRequestCreateRequestModel> for AuthRequestCreateRequestModel
source§fn eq(&self, other: &AuthRequestCreateRequestModel) -> bool
fn eq(&self, other: &AuthRequestCreateRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.