pub struct CipherWithIdRequestModel {Show 19 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>,
pub id: Uuid,
}
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>
§id: Uuid
Implementations§
Source§impl CipherWithIdRequestModel
impl CipherWithIdRequestModel
pub fn new(name: String, id: Uuid) -> 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 for CipherWithIdRequestModel
impl PartialEq for CipherWithIdRequestModel
Source§impl Serialize for CipherWithIdRequestModel
impl Serialize for CipherWithIdRequestModel
impl StructuralPartialEq for CipherWithIdRequestModel
Auto Trait Implementations§
impl Freeze for CipherWithIdRequestModel
impl RefUnwindSafe for CipherWithIdRequestModel
impl Send for CipherWithIdRequestModel
impl Sync for CipherWithIdRequestModel
impl Unpin for CipherWithIdRequestModel
impl UnwindSafe for CipherWithIdRequestModel
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