bitwarden_api_api/models/
tax_info_update_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TaxInfoUpdateRequestModel {
#[serde(rename = "country")]
pub country: String,
#[serde(rename = "postalCode", skip_serializing_if = "Option::is_none")]
pub postal_code: Option<String>,
}
impl TaxInfoUpdateRequestModel {
pub fn new(country: String) -> TaxInfoUpdateRequestModel {
TaxInfoUpdateRequestModel {
country,
postal_code: None,
}
}
}