pub struct SshKeyResponse {
pub id: SshKeyId,
pub title: String,
pub key_type: SshKeyType,
pub key: String,
pub fingerprint: String,
pub created_at: String,
pub last_used_at: Option<String>,
}Expand description
SSH key response for API.
Fields§
§id: SshKeyIdKey ID.
title: StringUser-provided title.
key_type: SshKeyTypeKey type.
key: StringFull public key.
fingerprint: StringSHA256 fingerprint.
created_at: StringCreation timestamp.
last_used_at: Option<String>Last used timestamp.
Trait Implementations§
Source§impl Clone for SshKeyResponse
impl Clone for SshKeyResponse
Source§fn clone(&self) -> SshKeyResponse
fn clone(&self) -> SshKeyResponse
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 SshKeyResponse
impl Debug for SshKeyResponse
Source§impl<'de> Deserialize<'de> for SshKeyResponse
impl<'de> Deserialize<'de> for SshKeyResponse
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
Auto Trait Implementations§
impl Freeze for SshKeyResponse
impl RefUnwindSafe for SshKeyResponse
impl Send for SshKeyResponse
impl Sync for SshKeyResponse
impl Unpin for SshKeyResponse
impl UnsafeUnpin for SshKeyResponse
impl UnwindSafe for SshKeyResponse
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