pub struct SshKeyInfo {
pub pid: u64,
pub key_type: SshKeyType,
pub key_data: String,
pub comment: String,
}Expand description
An SSH key artifact found in sshd process memory.
Fields§
§pid: u64PID of the sshd process where the key was found.
key_type: SshKeyTypeType of SSH key.
key_data: StringThe raw key string (e.g., “ssh-rsa AAAA…”).
comment: StringComment field if present (e.g., “user@host”).
Trait Implementations§
Source§impl Clone for SshKeyInfo
impl Clone for SshKeyInfo
Source§fn clone(&self) -> SshKeyInfo
fn clone(&self) -> SshKeyInfo
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 SshKeyInfo
impl Debug for SshKeyInfo
Auto Trait Implementations§
impl Freeze for SshKeyInfo
impl RefUnwindSafe for SshKeyInfo
impl Send for SshKeyInfo
impl Sync for SshKeyInfo
impl Unpin for SshKeyInfo
impl UnsafeUnpin for SshKeyInfo
impl UnwindSafe for SshKeyInfo
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