pub struct KeyAuditEntry {
pub timestamp: SystemTime,
pub event: KeyEvent,
pub key_id: String,
pub key_name: String,
pub details: String,
}Expand description
密钥审计日志条目
Fields§
§timestamp: SystemTime事件时间戳
event: KeyEvent事件类型
key_id: String相关密钥 ID
key_name: String密钥名称
details: String事件详情
Trait Implementations§
Source§impl Clone for KeyAuditEntry
impl Clone for KeyAuditEntry
Source§fn clone(&self) -> KeyAuditEntry
fn clone(&self) -> KeyAuditEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyAuditEntry
impl Debug for KeyAuditEntry
Source§impl<'de> Deserialize<'de> for KeyAuditEntry
impl<'de> Deserialize<'de> for KeyAuditEntry
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 KeyAuditEntry
impl RefUnwindSafe for KeyAuditEntry
impl Send for KeyAuditEntry
impl Sync for KeyAuditEntry
impl Unpin for KeyAuditEntry
impl UnsafeUnpin for KeyAuditEntry
impl UnwindSafe for KeyAuditEntry
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