Struct ockam_core::vault::VaultEntry
source · [−]pub struct VaultEntry { /* private fields */ }
Expand description
Secret stored in a Vault Storage
Implementations
sourceimpl VaultEntry
impl VaultEntry
sourcepub fn key_attributes(&self) -> SecretAttributes
pub fn key_attributes(&self) -> SecretAttributes
Secret’s Attributes
sourceimpl VaultEntry
impl VaultEntry
sourcepub fn new(key_attributes: SecretAttributes, key: SecretKey) -> Self
pub fn new(key_attributes: SecretAttributes, key: SecretKey) -> Self
Constructor
Trait Implementations
sourceimpl Clone for VaultEntry
impl Clone for VaultEntry
sourcefn clone(&self) -> VaultEntry
fn clone(&self) -> VaultEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VaultEntry
impl Debug for VaultEntry
sourceimpl PartialEq<VaultEntry> for VaultEntry
impl PartialEq<VaultEntry> for VaultEntry
sourcefn eq(&self, other: &VaultEntry) -> bool
fn eq(&self, other: &VaultEntry) -> bool
impl Eq for VaultEntry
impl StructuralEq for VaultEntry
impl StructuralPartialEq for VaultEntry
Auto Trait Implementations
impl RefUnwindSafe for VaultEntry
impl Send for VaultEntry
impl Sync for VaultEntry
impl Unpin for VaultEntry
impl UnwindSafe for VaultEntry
Blanket Implementations
sourceimpl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more