pub struct EncryptionKeyInfo {
pub sequence: u64,
pub key: SymmetricKey,
pub created_at: SystemTime,
pub expires_at: Option<SystemTime>,
pub derivation: KeyDerivation,
pub usage_count: u64,
pub security_level: SecurityLevel,
}Expand description
Information about an encryption key
Fieldsยง
ยงsequence: u64Key sequence number
key: SymmetricKeySymmetric encryption key
created_at: SystemTimeKey creation timestamp
expires_at: Option<SystemTime>Key expiration timestamp
derivation: KeyDerivationKey derivation info
usage_count: u64Usage statistics
security_level: SecurityLevelSecurity level
Trait Implementationsยง
Sourceยงimpl Clone for EncryptionKeyInfo
impl Clone for EncryptionKeyInfo
Sourceยงfn clone(&self) -> EncryptionKeyInfo
fn clone(&self) -> EncryptionKeyInfo
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 moreSourceยงimpl Debug for EncryptionKeyInfo
impl Debug for EncryptionKeyInfo
Sourceยงimpl<'de> Deserialize<'de> for EncryptionKeyInfo
impl<'de> Deserialize<'de> for EncryptionKeyInfo
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 EncryptionKeyInfo
impl RefUnwindSafe for EncryptionKeyInfo
impl Send for EncryptionKeyInfo
impl Sync for EncryptionKeyInfo
impl Unpin for EncryptionKeyInfo
impl UnwindSafe for EncryptionKeyInfo
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