pub struct SecretInfo {
pub id: String,
pub name: String,
pub created_at: SystemTime,
pub labels: HashMap<String, String>,
pub digest: String,
}Expand description
密钥信息
Fields§
§id: String密钥 ID
name: String密钥名称
created_at: SystemTime创建时间
labels: HashMap<String, String>标签
digest: String密钥摘要(用于验证密钥完整性)
Trait Implementations§
Source§impl Clone for SecretInfo
impl Clone for SecretInfo
Source§fn clone(&self) -> SecretInfo
fn clone(&self) -> SecretInfo
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 SecretInfo
impl Debug for SecretInfo
Source§impl<'de> Deserialize<'de> for SecretInfo
impl<'de> Deserialize<'de> for SecretInfo
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 SecretInfo
impl RefUnwindSafe for SecretInfo
impl Send for SecretInfo
impl Sync for SecretInfo
impl Unpin for SecretInfo
impl UnsafeUnpin for SecretInfo
impl UnwindSafe for SecretInfo
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