pub struct SecretMetadata {
pub name: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Lightweight metadata about a secret (no encrypted value).
Returned by VaultStore::list_secrets so callers can display
secret names and timestamps without touching any ciphertext.
Fields§
§name: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for SecretMetadata
impl Clone for SecretMetadata
Source§fn clone(&self) -> SecretMetadata
fn clone(&self) -> SecretMetadata
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 moreAuto Trait Implementations§
impl Freeze for SecretMetadata
impl RefUnwindSafe for SecretMetadata
impl Send for SecretMetadata
impl Sync for SecretMetadata
impl Unpin for SecretMetadata
impl UnsafeUnpin for SecretMetadata
impl UnwindSafe for SecretMetadata
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