pub struct DiscoveredKey {
pub openssh_line: String,
pub fingerprint: String,
pub algorithm: String,
}Expand description
A server host key seen during discovery, not yet trusted.
Fields§
§openssh_line: StringThe key as an OpenSSH type base64 line, ready for
server.ssh.host_key.
fingerprint: StringSHA-256 fingerprint, as ssh-keygen -l prints it.
algorithm: StringAlgorithm name, such as ssh-ed25519.
Trait Implementations§
Source§impl Clone for DiscoveredKey
impl Clone for DiscoveredKey
Source§fn clone(&self) -> DiscoveredKey
fn clone(&self) -> DiscoveredKey
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 moreSource§impl Debug for DiscoveredKey
impl Debug for DiscoveredKey
impl Eq for DiscoveredKey
Source§impl PartialEq for DiscoveredKey
impl PartialEq for DiscoveredKey
impl StructuralPartialEq for DiscoveredKey
Auto Trait Implementations§
impl Freeze for DiscoveredKey
impl RefUnwindSafe for DiscoveredKey
impl Send for DiscoveredKey
impl Sync for DiscoveredKey
impl Unpin for DiscoveredKey
impl UnsafeUnpin for DiscoveredKey
impl UnwindSafe for DiscoveredKey
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