pub struct VaultEntry {
pub id: String,
pub ciphertext: Vec<u8>,
pub description: String,
pub created_at: String,
pub tags: Vec<String>,
}Expand description
A sealed vault entry — the SIGIL envelope format.
This is the standard format that all SIGIL-compliant vaults produce.
The ciphertext field is opaque to the protocol; only the vault
provider knows how to decrypt it.
Fields§
§id: StringUnique identifier for this vault entry.
ciphertext: Vec<u8>Encrypted data (format determined by VaultProvider implementation).
description: StringHuman-readable description for the audit trail.
created_at: StringISO 8601 timestamp of when the entry was created.
Tags for categorization (e.g., “api-key”, “iban”, “pin”).
Trait Implementations§
Source§impl Clone for VaultEntry
impl Clone for VaultEntry
Source§fn clone(&self) -> VaultEntry
fn clone(&self) -> VaultEntry
Returns a duplicate 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 VaultEntry
impl Debug for VaultEntry
Source§impl<'de> Deserialize<'de> for VaultEntry
impl<'de> Deserialize<'de> for VaultEntry
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 VaultEntry
impl RefUnwindSafe for VaultEntry
impl Send for VaultEntry
impl Sync for VaultEntry
impl Unpin for VaultEntry
impl UnsafeUnpin for VaultEntry
impl UnwindSafe for VaultEntry
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