pub struct DeviceKeysUpdateRequestModel {
pub encrypted_public_key: String,
pub encrypted_user_key: String,
}
Fields§
§encrypted_public_key: String
§encrypted_user_key: String
Implementations§
Source§impl DeviceKeysUpdateRequestModel
impl DeviceKeysUpdateRequestModel
pub fn new( encrypted_public_key: String, encrypted_user_key: String, ) -> DeviceKeysUpdateRequestModel
Trait Implementations§
Source§impl Clone for DeviceKeysUpdateRequestModel
impl Clone for DeviceKeysUpdateRequestModel
Source§fn clone(&self) -> DeviceKeysUpdateRequestModel
fn clone(&self) -> DeviceKeysUpdateRequestModel
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 DeviceKeysUpdateRequestModel
impl Debug for DeviceKeysUpdateRequestModel
Source§impl Default for DeviceKeysUpdateRequestModel
impl Default for DeviceKeysUpdateRequestModel
Source§fn default() -> DeviceKeysUpdateRequestModel
fn default() -> DeviceKeysUpdateRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceKeysUpdateRequestModel
impl<'de> Deserialize<'de> for DeviceKeysUpdateRequestModel
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 DeviceKeysUpdateRequestModel
impl PartialEq for DeviceKeysUpdateRequestModel
Source§fn eq(&self, other: &DeviceKeysUpdateRequestModel) -> bool
fn eq(&self, other: &DeviceKeysUpdateRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeviceKeysUpdateRequestModel
Auto Trait Implementations§
impl Freeze for DeviceKeysUpdateRequestModel
impl RefUnwindSafe for DeviceKeysUpdateRequestModel
impl Send for DeviceKeysUpdateRequestModel
impl Sync for DeviceKeysUpdateRequestModel
impl Unpin for DeviceKeysUpdateRequestModel
impl UnwindSafe for DeviceKeysUpdateRequestModel
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