#[non_exhaustive]pub struct SSHKey {
pub name: String,
pub public_key: String,
/* private fields */
}Expand description
An SSH key, used for authorizing with the interactive serial console feature.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringOutput only. The name of this SSH key. Currently, the only valid value for the location is “global”.
public_key: StringThe public SSH key. This must be in OpenSSH .authorized_keys format.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SSHKey
Auto Trait Implementations§
impl Freeze for SSHKey
impl RefUnwindSafe for SSHKey
impl Send for SSHKey
impl Sync for SSHKey
impl Unpin for SSHKey
impl UnwindSafe for SSHKey
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