bitwarden_api_api/models/
cipher_attachment_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CipherAttachmentModel {
17 #[serde(rename = "fileName", skip_serializing_if = "Option::is_none")]
18 pub file_name: Option<String>,
19 #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
20 pub key: Option<String>,
21}
22
23impl CipherAttachmentModel {
24 pub fn new() -> CipherAttachmentModel {
25 CipherAttachmentModel {
26 file_name: None,
27 key: None,
28 }
29 }
30}