pub struct CipherMiniResponseModel {Show 25 fields
pub object: Option<String>,
pub id: Option<Uuid>,
pub organization_id: Option<Uuid>,
pub type: Option<CipherType>,
pub data: Option<String>,
pub partial_data: Option<String>,
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 ssh_key: Option<Box<CipherSshKeyModel>>,
pub bank_account: Option<Box<CipherBankAccountModel>>,
pub drivers_license: Option<Box<CipherDriversLicenseModel>>,
pub passport: Option<Box<CipherPassportModel>>,
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>,
}Expand description
CipherMiniResponseModel : The shape shared by every cipher response. Abstract because a response
has to say which data it carries: a Partial* subclass emits the reduced
Bit.Api.Vault.Models.Response.CipherMiniResponseModel.PartialData envelope for a leasing-gated
cipher, and a Full* subclass emits the secret
Bit.Api.Vault.Models.Response.CipherMiniResponseModel.Data blob and can only be constructed with
a Bit.Core.Vault.Authorization.FullCipherAccess witness. Both properties are declared here so
either shape serializes to the same contract.
Fields§
§object: Option<String>§id: Option<Uuid>§organization_id: Option<Uuid>§type: Option<CipherType>§data: Option<String>§partial_data: Option<String>The reduced data blob returned in place of Bit.Api.Vault.Models.Response.CipherMiniResponseModel.Data when the caller can only reach this cipher through leasing-enabled collections (PAM credential leasing). Contains the encrypted title and, for logins, the encrypted URIs — never the dropped secrets. Null for full responses.
name: Option<String>§notes: Option<String>§login: Option<Box<CipherLoginModel>>§card: Option<Box<CipherCardModel>>§identity: Option<Box<CipherIdentityModel>>§secure_note: Option<Box<CipherSecureNoteModel>>§ssh_key: Option<Box<CipherSshKeyModel>>§bank_account: Option<Box<CipherBankAccountModel>>§drivers_license: Option<Box<CipherDriversLicenseModel>>§passport: Option<Box<CipherPassportModel>>§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>Implementations§
Source§impl CipherMiniResponseModel
impl CipherMiniResponseModel
Sourcepub fn new() -> CipherMiniResponseModel
pub fn new() -> CipherMiniResponseModel
The shape shared by every cipher response. Abstract because a response has to say which data
it carries: a Partial* subclass emits the reduced
Bit.Api.Vault.Models.Response.CipherMiniResponseModel.PartialData envelope for a
leasing-gated cipher, and a Full* subclass emits the secret
Bit.Api.Vault.Models.Response.CipherMiniResponseModel.Data blob and can only be constructed
with a Bit.Core.Vault.Authorization.FullCipherAccess witness. Both properties are declared
here so either shape serializes to the same contract.
Trait Implementations§
Source§impl Clone for CipherMiniResponseModel
impl Clone for CipherMiniResponseModel
Source§fn clone(&self) -> CipherMiniResponseModel
fn clone(&self) -> CipherMiniResponseModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CipherMiniResponseModel
impl Debug for CipherMiniResponseModel
Source§impl Default for CipherMiniResponseModel
impl Default for CipherMiniResponseModel
Source§fn default() -> CipherMiniResponseModel
fn default() -> CipherMiniResponseModel
Source§impl<'de> Deserialize<'de> for CipherMiniResponseModel
impl<'de> Deserialize<'de> for CipherMiniResponseModel
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>,
Source§impl PartialEq for CipherMiniResponseModel
impl PartialEq for CipherMiniResponseModel
Source§impl Serialize for CipherMiniResponseModel
impl Serialize for CipherMiniResponseModel
impl StructuralPartialEq for CipherMiniResponseModel
Auto Trait Implementations§
impl Freeze for CipherMiniResponseModel
impl RefUnwindSafe for CipherMiniResponseModel
impl Send for CipherMiniResponseModel
impl Sync for CipherMiniResponseModel
impl Unpin for CipherMiniResponseModel
impl UnsafeUnpin for CipherMiniResponseModel
impl UnwindSafe for CipherMiniResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more