pub struct DirectHostKey {
pub host_pattern: String,
pub fingerprint: String,
}Expand description
One direct host-fingerprint pin (host SHA256:fp). Predates M14;
kept here so parse_known_hosts can return everything in one
pass instead of forcing the caller to re-iterate the file.
Fields§
§host_pattern: String§fingerprint: StringTrait Implementations§
Source§impl Clone for DirectHostKey
impl Clone for DirectHostKey
Source§fn clone(&self) -> DirectHostKey
fn clone(&self) -> DirectHostKey
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 DirectHostKey
impl Debug for DirectHostKey
Source§impl PartialEq for DirectHostKey
impl PartialEq for DirectHostKey
Source§fn eq(&self, other: &DirectHostKey) -> bool
fn eq(&self, other: &DirectHostKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DirectHostKey
impl StructuralPartialEq for DirectHostKey
Auto Trait Implementations§
impl Freeze for DirectHostKey
impl RefUnwindSafe for DirectHostKey
impl Send for DirectHostKey
impl Sync for DirectHostKey
impl Unpin for DirectHostKey
impl UnsafeUnpin for DirectHostKey
impl UnwindSafe for DirectHostKey
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