bitwarden_api_api/models/
two_factor_provider_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TwoFactorProviderResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "enabled", skip_serializing_if = "Option::is_none")]
pub enabled: Option<bool>,
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<models::TwoFactorProviderType>,
}
impl TwoFactorProviderResponseModel {
pub fn new() -> TwoFactorProviderResponseModel {
TwoFactorProviderResponseModel {
object: None,
enabled: None,
r#type: None,
}
}
}