pub struct BwCipher {
pub cipher_type: u8,
pub name: String,
pub login: Option<BwLogin>,
pub fields: Vec<BwField>,
pub folder_id: Option<String>,
}Expand description
Subset of the Bitwarden cipher JSON returned by bw list items.
Fields§
§cipher_type: u8Cipher type: 1 = Login, 2 = SecureNote, 3 = Card, 4 = Identity.
name: StringDisplay name of the item.
login: Option<BwLogin>Login-specific fields (present when type = 1).
fields: Vec<BwField>Custom fields attached to the item.
folder_id: Option<String>Folder ID (used for optional filtering).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BwCipher
impl<'de> Deserialize<'de> for BwCipher
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
Auto Trait Implementations§
impl Freeze for BwCipher
impl RefUnwindSafe for BwCipher
impl Send for BwCipher
impl Sync for BwCipher
impl Unpin for BwCipher
impl UnsafeUnpin for BwCipher
impl UnwindSafe for BwCipher
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