Struct bitwarden_api_api::models::update_devices_trust_request_model::UpdateDevicesTrustRequestModel
source · 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDevicesTrustRequestModel
Auto Trait Implementations§
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