pub struct RemoveIdentity {
pub pubkey: KeyData,
}
Expand description
Remove a key from an agent.
This structure is sent in a Request::RemoveIdentity
(SSH_AGENTC_REMOVE_IDENTITY
) message.
Described in draft-miller-ssh-agent-14 § 3.4
Fields§
§pubkey: KeyData
The public key portion of the Identity
to be removed
Trait Implementations§
Source§impl Clone for RemoveIdentity
impl Clone for RemoveIdentity
Source§fn clone(&self) -> RemoveIdentity
fn clone(&self) -> RemoveIdentity
Returns a copy of the value. Read more
1.0.0 · 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 RemoveIdentity
impl Debug for RemoveIdentity
Source§impl Decode for RemoveIdentity
impl Decode for RemoveIdentity
Source§impl Encode for RemoveIdentity
impl Encode for RemoveIdentity
Source§fn encoded_len(&self) -> Result<usize>
fn encoded_len(&self) -> Result<usize>
Get the length of this type encoded in bytes, prior to Base64 encoding.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<()>
fn encode(&self, writer: &mut impl Writer) -> Result<()>
Encode this value using the provided
Writer
.Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32
length prefix.Source§fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value, first prepending a
uint32
length prefix
set to Encode::encoded_len
.Source§impl PartialEq for RemoveIdentity
impl PartialEq for RemoveIdentity
impl StructuralPartialEq for RemoveIdentity
Auto Trait Implementations§
impl Freeze for RemoveIdentity
impl RefUnwindSafe for RemoveIdentity
impl Send for RemoveIdentity
impl Sync for RemoveIdentity
impl Unpin for RemoveIdentity
impl UnwindSafe for RemoveIdentity
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