pub struct VaultContents {
pub version: u32,
pub created_at: DateTime<Utc>,
pub documents: Vec<Document>,
}Expand description
The cleartext contents of a vault — serialized to JSON, then encrypted at
rest. Generic: everything an application encloses is a Document.
Fields§
§version: u32§created_at: DateTime<Utc>§documents: Vec<Document>Trait Implementations§
Source§impl Clone for VaultContents
impl Clone for VaultContents
Source§impl Debug for VaultContents
impl Debug for VaultContents
Source§impl Default for VaultContents
impl Default for VaultContents
Source§impl<'de> Deserialize<'de> for VaultContents
impl<'de> Deserialize<'de> for VaultContents
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 VaultContents
impl RefUnwindSafe for VaultContents
impl Send for VaultContents
impl Sync for VaultContents
impl Unpin for VaultContents
impl UnsafeUnpin for VaultContents
impl UnwindSafe for VaultContents
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