pub struct CipherRequestModel {Show 18 fields
pub type: Option<CipherType>,
pub organization_id: Option<String>,
pub folder_id: Option<String>,
pub favorite: Option<bool>,
pub reprompt: Option<CipherRepromptType>,
pub key: Option<String>,
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 ssh_key: Option<Box<CipherSshKeyModel>>,
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>
§key: Option<String>
§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>>
§ssh_key: Option<Box<CipherSshKeyModel>>
§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 for CipherRequestModel
impl PartialEq for CipherRequestModel
Source§impl Serialize for CipherRequestModel
impl Serialize for CipherRequestModel
impl StructuralPartialEq for CipherRequestModel
Auto Trait Implementations§
impl Freeze for CipherRequestModel
impl RefUnwindSafe for CipherRequestModel
impl Send for CipherRequestModel
impl Sync for CipherRequestModel
impl Unpin for CipherRequestModel
impl UnwindSafe for CipherRequestModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more