pub struct CipherResponseModel {Show 23 fields
pub object: Option<String>,
pub id: Option<String>,
pub organization_id: Option<String>,
pub _type: Option<CipherType>,
pub data: Option<Value>,
pub name: Option<String>,
pub notes: Option<String>,
pub login: Option<Box<CipherLoginModel>>,
pub card: Option<Box<CipherCardModel>>,
pub identity: Option<Box<CipherIdentityModel>>,
pub secure_note: Option<Box<CipherSecureNoteModel>>,
pub fields: Option<Vec<CipherFieldModel>>,
pub password_history: Option<Vec<CipherPasswordHistoryModel>>,
pub attachments: Option<Vec<AttachmentResponseModel>>,
pub organization_use_totp: Option<bool>,
pub revision_date: Option<String>,
pub creation_date: Option<String>,
pub deleted_date: Option<String>,
pub reprompt: Option<CipherRepromptType>,
pub folder_id: Option<String>,
pub favorite: Option<bool>,
pub edit: Option<bool>,
pub view_password: Option<bool>,
}
Fields§
§object: Option<String>
§id: Option<String>
§organization_id: Option<String>
§_type: Option<CipherType>
§data: Option<Value>
§name: Option<String>
§notes: Option<String>
§login: Option<Box<CipherLoginModel>>
§card: Option<Box<CipherCardModel>>
§identity: Option<Box<CipherIdentityModel>>
§secure_note: Option<Box<CipherSecureNoteModel>>
§fields: Option<Vec<CipherFieldModel>>
§password_history: Option<Vec<CipherPasswordHistoryModel>>
§attachments: Option<Vec<AttachmentResponseModel>>
§organization_use_totp: Option<bool>
§revision_date: Option<String>
§creation_date: Option<String>
§deleted_date: Option<String>
§reprompt: Option<CipherRepromptType>
§folder_id: Option<String>
§favorite: Option<bool>
§edit: Option<bool>
§view_password: Option<bool>
Implementations§
source§impl CipherResponseModel
impl CipherResponseModel
pub fn new() -> CipherResponseModel
Trait Implementations§
source§impl Clone for CipherResponseModel
impl Clone for CipherResponseModel
source§fn clone(&self) -> CipherResponseModel
fn clone(&self) -> CipherResponseModel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CipherResponseModel
impl Debug for CipherResponseModel
source§impl Default for CipherResponseModel
impl Default for CipherResponseModel
source§fn default() -> CipherResponseModel
fn default() -> CipherResponseModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CipherResponseModel
impl<'de> Deserialize<'de> for CipherResponseModel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<CipherResponseModel> for CipherResponseModel
impl PartialEq<CipherResponseModel> for CipherResponseModel
source§fn eq(&self, other: &CipherResponseModel) -> bool
fn eq(&self, other: &CipherResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.