pub struct Vault {
pub version: u32,
pub created_at: DateTime<Utc>,
pub modified_at: DateTime<Utc>,
pub secrets: BTreeMap<String, SecretEntry>,
pub policies: BTreeMap<String, Policy>,
pub sessions: Vec<SessionRecord>,
}Expand description
The in-memory representation of the entire vault.
Fields§
§version: u32§created_at: DateTime<Utc>§modified_at: DateTime<Utc>§secrets: BTreeMap<String, SecretEntry>§policies: BTreeMap<String, Policy>§sessions: Vec<SessionRecord>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vault
impl<'de> Deserialize<'de> for Vault
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 Vault
impl RefUnwindSafe for Vault
impl Send for Vault
impl Sync for Vault
impl Unpin for Vault
impl UnsafeUnpin for Vault
impl UnwindSafe for Vault
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