bitwarden_api_api/models/
optional_cipher_details_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OptionalCipherDetailsResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "unavailable", skip_serializing_if = "Option::is_none")]
pub unavailable: Option<bool>,
#[serde(rename = "cipher", skip_serializing_if = "Option::is_none")]
pub cipher: Option<Box<models::CipherDetailsResponseModel>>,
}
impl OptionalCipherDetailsResponseModel {
pub fn new() -> OptionalCipherDetailsResponseModel {
OptionalCipherDetailsResponseModel {
object: None,
unavailable: None,
cipher: None,
}
}
}