pub struct Identity {
pub public_key: PublicKey,
pub comment: String,
pub fingerprint: String,
}Expand description
One identity loaded into the agent.
Fields§
§public_key: PublicKeyThe public key part, as returned by the agent.
comment: StringComment the key was added with (often user@host or the file path).
fingerprint: StringSHA256:<base64> fingerprint — cached here to avoid recomputing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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