bitwarden_api_api/models/
two_factor_email_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TwoFactorEmailResponseModel {
#[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 = "email", skip_serializing_if = "Option::is_none")]
pub email: Option<String>,
}
impl TwoFactorEmailResponseModel {
pub fn new() -> TwoFactorEmailResponseModel {
TwoFactorEmailResponseModel {
object: None,
enabled: None,
email: None,
}
}
}