pub struct CipherRequestModel {Show 16 fields
pub _type: Option<CipherType>,
pub organization_id: Option<String>,
pub folder_id: Option<String>,
pub favorite: Option<bool>,
pub reprompt: Option<CipherRepromptType>,
pub name: String,
pub notes: Option<String>,
pub fields: Option<Vec<CipherFieldModel>>,
pub password_history: Option<Vec<CipherPasswordHistoryModel>>,
pub attachments: Option<HashMap<String, String>>,
pub attachments2: Option<HashMap<String, CipherAttachmentModel>>,
pub login: Option<Box<CipherLoginModel>>,
pub card: Option<Box<CipherCardModel>>,
pub identity: Option<Box<CipherIdentityModel>>,
pub secure_note: Option<Box<CipherSecureNoteModel>>,
pub last_known_revision_date: Option<String>,
}
Fields§
§_type: Option<CipherType>
§organization_id: Option<String>
§folder_id: Option<String>
§favorite: Option<bool>
§reprompt: Option<CipherRepromptType>
§name: String
§notes: Option<String>
§fields: Option<Vec<CipherFieldModel>>
§password_history: Option<Vec<CipherPasswordHistoryModel>>
§attachments: Option<HashMap<String, String>>
§attachments2: Option<HashMap<String, CipherAttachmentModel>>
§login: Option<Box<CipherLoginModel>>
§card: Option<Box<CipherCardModel>>
§identity: Option<Box<CipherIdentityModel>>
§secure_note: Option<Box<CipherSecureNoteModel>>
§last_known_revision_date: Option<String>
Implementations§
source§impl CipherRequestModel
impl CipherRequestModel
pub fn new(name: String) -> CipherRequestModel
Trait Implementations§
source§impl Clone for CipherRequestModel
impl Clone for CipherRequestModel
source§fn clone(&self) -> CipherRequestModel
fn clone(&self) -> CipherRequestModel
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 CipherRequestModel
impl Debug for CipherRequestModel
source§impl Default for CipherRequestModel
impl Default for CipherRequestModel
source§fn default() -> CipherRequestModel
fn default() -> CipherRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CipherRequestModel
impl<'de> Deserialize<'de> for CipherRequestModel
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<CipherRequestModel> for CipherRequestModel
impl PartialEq<CipherRequestModel> for CipherRequestModel
source§fn eq(&self, other: &CipherRequestModel) -> bool
fn eq(&self, other: &CipherRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.