pub struct ManagedKey {Show 13 fields
pub fp_sha256_hex: String,
pub key_type: String,
pub format: String,
pub description: String,
pub source: String,
pub loaded: bool,
pub has_disk: bool,
pub has_cert: bool,
pub password_protected: bool,
pub constraints: Value,
pub default_constraints: Option<Value>,
pub created: Option<String>,
pub updated: Option<String>,
}Expand description
Common key data structure used by both daemon and TUI
Fields§
§fp_sha256_hex: String§key_type: String§format: String§description: String§source: String§loaded: bool§has_disk: bool§has_cert: bool§password_protected: bool§constraints: Value§default_constraints: Option<Value>§created: Option<String>§updated: Option<String>Trait Implementations§
Source§impl Clone for ManagedKey
impl Clone for ManagedKey
Source§fn clone(&self) -> ManagedKey
fn clone(&self) -> ManagedKey
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 ManagedKey
impl Debug for ManagedKey
Source§impl<'de> Deserialize<'de> for ManagedKey
impl<'de> Deserialize<'de> for ManagedKey
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 ManagedKey
impl RefUnwindSafe for ManagedKey
impl Send for ManagedKey
impl Sync for ManagedKey
impl Unpin for ManagedKey
impl UnsafeUnpin for ManagedKey
impl UnwindSafe for ManagedKey
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