pub struct CipherWithIdRequestModel {Show 17 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>,
pub id: 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>
§id: String
Implementations§
source§impl CipherWithIdRequestModel
impl CipherWithIdRequestModel
pub fn new(name: String, id: String) -> CipherWithIdRequestModel
Trait Implementations§
source§impl Clone for CipherWithIdRequestModel
impl Clone for CipherWithIdRequestModel
source§fn clone(&self) -> CipherWithIdRequestModel
fn clone(&self) -> CipherWithIdRequestModel
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 CipherWithIdRequestModel
impl Debug for CipherWithIdRequestModel
source§impl Default for CipherWithIdRequestModel
impl Default for CipherWithIdRequestModel
source§fn default() -> CipherWithIdRequestModel
fn default() -> CipherWithIdRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CipherWithIdRequestModel
impl<'de> Deserialize<'de> for CipherWithIdRequestModel
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<CipherWithIdRequestModel> for CipherWithIdRequestModel
impl PartialEq<CipherWithIdRequestModel> for CipherWithIdRequestModel
source§fn eq(&self, other: &CipherWithIdRequestModel) -> bool
fn eq(&self, other: &CipherWithIdRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.