pub struct KeyEntry {
pub id: u64,
pub algorithm: String,
pub created_at: u64,
pub status: String,
pub channel_id: Option<u64>,
pub fingerprint: String,
}Expand description
A key entry for channel encryption metadata.
Fields§
§id: u64Unique key identifier.
algorithm: StringAlgorithm name (e.g. “aes-256-gcm”, “x25519”).
created_at: u64Creation timestamp (seconds since epoch).
status: StringKey status: “active”, “rotated”, or “revoked”.
channel_id: Option<u64>Optional channel this key is bound to.
fingerprint: StringFingerprint of the key material.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyEntry
impl<'de> Deserialize<'de> for KeyEntry
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 KeyEntry
impl RefUnwindSafe for KeyEntry
impl Send for KeyEntry
impl Sync for KeyEntry
impl Unpin for KeyEntry
impl UnsafeUnpin for KeyEntry
impl UnwindSafe for KeyEntry
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