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 for AuthRequestCreateRequestModel
impl PartialEq for AuthRequestCreateRequestModel
Source§fn eq(&self, other: &AuthRequestCreateRequestModel) -> bool
fn eq(&self, other: &AuthRequestCreateRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthRequestCreateRequestModel
Auto Trait Implementations§
impl Freeze for AuthRequestCreateRequestModel
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