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,
}
Fields§
§email: String
§public_key: String
§device_identifier: String
§access_code: String
§type: AuthRequestType
Implementations§
source§impl AuthRequestCreateRequestModel
impl AuthRequestCreateRequestModel
pub fn new( email: String, public_key: String, device_identifier: String, access_code: String, type: AuthRequestType ) -> 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 ==
.impl StructuralPartialEq for AuthRequestCreateRequestModel
Auto Trait Implementations§
impl RefUnwindSafe for AuthRequestCreateRequestModel
impl Send for AuthRequestCreateRequestModel
impl Sync for AuthRequestCreateRequestModel
impl Unpin for AuthRequestCreateRequestModel
impl UnwindSafe for AuthRequestCreateRequestModel
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