bitwarden_api_api/models/
device_verification_request_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct DeviceVerificationRequestModel {
17 #[serde(rename = "unknownDeviceVerificationEnabled")]
18 pub unknown_device_verification_enabled: bool,
19}
20
21impl DeviceVerificationRequestModel {
22 pub fn new(unknown_device_verification_enabled: bool) -> DeviceVerificationRequestModel {
23 DeviceVerificationRequestModel {
24 unknown_device_verification_enabled,
25 }
26 }
27}