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