Struct askar_storage::entry::Entry
source · pub struct Entry {
pub kind: EntryKind,
pub category: String,
pub name: String,
pub value: SecretBytes,
pub tags: Vec<EntryTag>,
}Expand description
A record in the store
Fields§
§kind: EntryKindThe entry kind discriminator
category: StringThe category of the entry record
name: StringThe name of the entry record, unique within its category
value: SecretBytesThe value of the entry record
Tags associated with the entry record
Implementations§
Trait Implementations§
impl Eq for Entry
Auto Trait Implementations§
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.