Struct ssh_agent_lib::proto::message::AddIdentity
source · pub struct AddIdentity {
pub privkey: PrivateKey,
pub comment: String,
}
Fields§
§privkey: PrivateKey
§comment: String
Trait Implementations§
source§impl Clone for AddIdentity
impl Clone for AddIdentity
source§fn clone(&self) -> AddIdentity
fn clone(&self) -> AddIdentity
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 AddIdentity
impl Debug for AddIdentity
source§impl<'de> Deserialize<'de> for AddIdentity
impl<'de> Deserialize<'de> for AddIdentity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AddIdentity
impl PartialEq for AddIdentity
source§fn eq(&self, other: &AddIdentity) -> bool
fn eq(&self, other: &AddIdentity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AddIdentity
impl Serialize for AddIdentity
impl StructuralPartialEq for AddIdentity
Auto Trait Implementations§
impl RefUnwindSafe for AddIdentity
impl Send for AddIdentity
impl Sync for AddIdentity
impl Unpin for AddIdentity
impl UnwindSafe for AddIdentity
Blanket Implementations§
source§impl<'a, T> Blob for Twhere
T: Serialize + Deserialize<'a>,
impl<'a, T> Blob for Twhere
T: Serialize + Deserialize<'a>,
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