pub struct Murk {
pub values: HashMap<String, Zeroizing<String>>,
pub recipients: HashMap<String, String>,
pub private: HashMap<String, HashMap<String, Zeroizing<String>>>,
pub grouped: HashMap<String, HashMap<String, Zeroizing<String>>>,
pub groups: BTreeMap<String, Vec<String>>,
pub grants: BTreeMap<String, GrantEntry>,
pub legacy_mac: bool,
pub github_pins: HashMap<String, Vec<String>>,
}Fields§
§values: HashMap<String, Zeroizing<String>>Decrypted shared values. Wrapped in Zeroizing so plaintext is cleared
from memory when the Murk is dropped.
recipients: HashMap<String, String>Pubkey → display name (from meta).
private: HashMap<String, HashMap<String, Zeroizing<String>>>Private per-recipient values (the me tier): key → { pubkey → decrypted
value }. Only contains entries decryptable by the current identity.
grouped: HashMap<String, HashMap<String, Zeroizing<String>>>Named-group values: key → { group name → decrypted value }. Only contains groups the current identity is a member of (and can decrypt).
groups: BTreeMap<String, Vec<String>>Group membership: group name → member pubkeys (carried from meta).
grants: BTreeMap<String, GrantEntry>Agent grants (carried from meta): grant name → metadata.
legacy_mac: boolTrue if the vault uses a legacy unkeyed MAC (sha256/sha256v2).
github_pins: HashMap<String, Vec<String>>Pinned GitHub key fingerprints (carried from meta).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Murk
impl RefUnwindSafe for Murk
impl Send for Murk
impl Sync for Murk
impl Unpin for Murk
impl UnsafeUnpin for Murk
impl UnwindSafe for Murk
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more