pub struct CipherResponseModel {Show 24 fields
pub object: Option<String>,
pub id: Option<Uuid>,
pub organization_id: Option<Uuid>,
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 key: Option<String>,
pub folder_id: Option<Uuid>,
pub favorite: Option<bool>,
pub edit: Option<bool>,
pub view_password: Option<bool>,
}
Fields§
§object: Option<String>
§id: Option<Uuid>
§organization_id: Option<Uuid>
§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>
§key: Option<String>
§folder_id: Option<Uuid>
§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<'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 for CipherResponseModel
impl PartialEq 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 ==
.source§impl Serialize for CipherResponseModel
impl Serialize for CipherResponseModel
impl StructuralPartialEq for CipherResponseModel
Auto Trait Implementations§
impl Freeze for CipherResponseModel
impl RefUnwindSafe for CipherResponseModel
impl Send for CipherResponseModel
impl Sync for CipherResponseModel
impl Unpin for CipherResponseModel
impl UnwindSafe for CipherResponseModel
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