pub struct EncryptionKey {
pub alias: String,
pub created_at: String,
}Expand description
A configured symmetric encryption key’s non-secret metadata (ADR-0026).
The secret key material itself lives in the OS keychain, keyed by
alias – see crate::core::keyring::credentials – exactly like every
other secret this codebase stores.
Fields§
§alias: String§created_at: StringRFC3339, set once at creation; never updated by modify – rotating
the secret changes the key, not when the entry was made.
Trait Implementations§
Source§impl Clone for EncryptionKey
impl Clone for EncryptionKey
Source§impl Debug for EncryptionKey
impl Debug for EncryptionKey
Source§impl<'de> Deserialize<'de> for EncryptionKey
impl<'de> Deserialize<'de> for EncryptionKey
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 EncryptionKey
impl RefUnwindSafe for EncryptionKey
impl Send for EncryptionKey
impl Sync for EncryptionKey
impl Unpin for EncryptionKey
impl UnsafeUnpin for EncryptionKey
impl UnwindSafe for EncryptionKey
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