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