pub struct SecretMetadataInfo {
pub name: String,
pub age_secs: u64,
pub last_accessed_secs_ago: u64,
pub last_rotated_secs_ago: u64,
pub access_count: u64,
pub requires_rotation: bool,
}Expand description
密钥元数据信息(公开)
Fields§
§name: String密钥名称
age_secs: u64密钥年龄(秒)
last_accessed_secs_ago: u64最后访问距今(秒)
last_rotated_secs_ago: u64最后轮换距今(秒)
access_count: u64访问次数
requires_rotation: bool是否需要轮换
Trait Implementations§
Source§impl Clone for SecretMetadataInfo
impl Clone for SecretMetadataInfo
Source§fn clone(&self) -> SecretMetadataInfo
fn clone(&self) -> SecretMetadataInfo
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 moreAuto Trait Implementations§
impl Freeze for SecretMetadataInfo
impl RefUnwindSafe for SecretMetadataInfo
impl Send for SecretMetadataInfo
impl Sync for SecretMetadataInfo
impl Unpin for SecretMetadataInfo
impl UnsafeUnpin for SecretMetadataInfo
impl UnwindSafe for SecretMetadataInfo
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