Struct ssh_agent_lib::proto::private_key::SkEd25519PrivateKey
source · [−]pub struct SkEd25519PrivateKey {
pub enc_a: Vec<u8>,
pub application: String,
pub flags: u8,
pub key_handle: Vec<u8>,
pub reserved: Vec<u8>,
}
Fields
enc_a: Vec<u8>
application: String
flags: u8
key_handle: Vec<u8>
reserved: Vec<u8>
Trait Implementations
sourceimpl Clone for SkEd25519PrivateKey
impl Clone for SkEd25519PrivateKey
sourcefn clone(&self) -> SkEd25519PrivateKey
fn clone(&self) -> SkEd25519PrivateKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SkEd25519PrivateKey
impl Debug for SkEd25519PrivateKey
sourceimpl<'de> Deserialize<'de> for SkEd25519PrivateKey
impl<'de> Deserialize<'de> for SkEd25519PrivateKey
sourcefn 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
sourceimpl From<SkEd25519PrivateKey> for SkEd25519PublicKey
impl From<SkEd25519PrivateKey> for SkEd25519PublicKey
sourcefn from(key: SkEd25519PrivateKey) -> Self
fn from(key: SkEd25519PrivateKey) -> Self
Converts to this type from the input type.
sourceimpl Hash for SkEd25519PrivateKey
impl Hash for SkEd25519PrivateKey
sourceimpl KeyType for SkEd25519PrivateKey
impl KeyType for SkEd25519PrivateKey
sourceimpl PartialEq<SkEd25519PrivateKey> for SkEd25519PrivateKey
impl PartialEq<SkEd25519PrivateKey> for SkEd25519PrivateKey
sourcefn eq(&self, other: &SkEd25519PrivateKey) -> bool
fn eq(&self, other: &SkEd25519PrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SkEd25519PrivateKey) -> bool
fn ne(&self, other: &SkEd25519PrivateKey) -> bool
This method tests for !=
.
sourceimpl Serialize for SkEd25519PrivateKey
impl Serialize for SkEd25519PrivateKey
impl Eq for SkEd25519PrivateKey
impl StructuralEq for SkEd25519PrivateKey
impl StructuralPartialEq for SkEd25519PrivateKey
Auto Trait Implementations
impl RefUnwindSafe for SkEd25519PrivateKey
impl Send for SkEd25519PrivateKey
impl Sync for SkEd25519PrivateKey
impl Unpin for SkEd25519PrivateKey
impl UnwindSafe for SkEd25519PrivateKey
Blanket Implementations
sourceimpl<'a, T> Blob for T where
T: Serialize + Deserialize<'a>,
impl<'a, T> Blob for T where
T: Serialize + Deserialize<'a>,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more