pub struct AgentIdentityInfo {
pub algorithm: String,
pub fingerprint: String,
pub comment: String,
}Expand description
A loaded identity known to the agent.
Fields§
§algorithm: StringKey algorithm string (e.g. "X25519", "P384").
fingerprint: StringSHA256:<base64> fingerprint of the public key.
comment: StringOptional comment (e.g. user@host).
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for AgentIdentityInfo
impl<'__de, __Context> BorrowDecode<'__de, __Context> for AgentIdentityInfo
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given [
BorrowDecode]. Read moreSource§impl Clone for AgentIdentityInfo
impl Clone for AgentIdentityInfo
Source§fn clone(&self) -> AgentIdentityInfo
fn clone(&self) -> AgentIdentityInfo
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 AgentIdentityInfo
impl Debug for AgentIdentityInfo
Source§impl<__Context> Decode<__Context> for AgentIdentityInfo
impl<__Context> Decode<__Context> for AgentIdentityInfo
Auto Trait Implementations§
impl Freeze for AgentIdentityInfo
impl RefUnwindSafe for AgentIdentityInfo
impl Send for AgentIdentityInfo
impl Sync for AgentIdentityInfo
impl Unpin for AgentIdentityInfo
impl UnsafeUnpin for AgentIdentityInfo
impl UnwindSafe for AgentIdentityInfo
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