pub struct SshKeyData {
pub private_key: String,
pub public_key: String,
pub fingerprint: String,
}Expand description
Decoded SSH key material returned by this crate’s import/generate functions.
Fields§
§private_key: StringSSH private key in unencrypted OpenSSH format.
public_key: StringSSH public key according to RFC 4253.
fingerprint: StringSSH fingerprint using SHA256 in the format: SHA256:BASE64_ENCODED_FINGERPRINT.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SshKeyData
impl RefUnwindSafe for SshKeyData
impl Send for SshKeyData
impl Sync for SshKeyData
impl Unpin for SshKeyData
impl UnsafeUnpin for SshKeyData
impl UnwindSafe for SshKeyData
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more