pub struct KeyType {
pub name: &'static str,
pub short_name: &'static str,
pub is_cert: bool,
pub is_sk: bool,
pub kind: KeyTypeKind,
pub plain: &'static str,
}
Expand description
KeyType
represents the type of an OpenSSH key.
Fields§
§name: &'static str
Name of the key type.
short_name: &'static str
Short name of the key type.
is_cert: bool
Indicates whether the key type represents a certificate or not.
is_sk: bool
Indicates whether the key type is used with a security key or not
kind: KeyTypeKind
Kind of the key type.
plain: &'static str
The cert-less equivalent to a certified key type.
Implementations§
Trait Implementations§
source§impl PartialEq for KeyType
impl PartialEq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
impl Freeze for KeyType
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
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