pub struct AgentKey {
pub fingerprint: String,
pub public_key: PublicKey,
}Expand description
An SSH key available in the running SSH agent.
Fields§
§fingerprint: StringFingerprint in git-sshripped’s format: base64url_no_pad(SHA256(key_type + ":" + key_data)).
public_key: PublicKeyThe parsed public key (used to request signatures from the agent).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentKey
impl RefUnwindSafe for AgentKey
impl Send for AgentKey
impl Sync for AgentKey
impl Unpin for AgentKey
impl UnsafeUnpin for AgentKey
impl UnwindSafe for AgentKey
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