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