pub struct SshPublicKey {
pub date_imported: f64,
pub ssh_public_key_body: String,
pub ssh_public_key_id: String,
}Expand description
Provides information about the public Secure Shell (SSH) key that is associated with a user account for the specific file transfer protocol-enabled server (as identified by ServerId). The information returned includes the date the key was imported, the public key contents, and the public key ID. A user can store more than one SSH public key associated with their user name on a specific server.
Fields§
§date_imported: f64Specifies the date that the public key was added to the user account.
ssh_public_key_body: StringSpecifies the content of the SSH public key as specified by the PublicKeyId.
ssh_public_key_id: StringSpecifies the SshPublicKeyId parameter contains the identifier of the public key.
Trait Implementations§
Source§impl Clone for SshPublicKey
impl Clone for SshPublicKey
Source§fn clone(&self) -> SshPublicKey
fn clone(&self) -> SshPublicKey
Returns a duplicate 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 SshPublicKey
impl Debug for SshPublicKey
Source§impl Default for SshPublicKey
impl Default for SshPublicKey
Source§fn default() -> SshPublicKey
fn default() -> SshPublicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SshPublicKey
impl<'de> Deserialize<'de> for SshPublicKey
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 SshPublicKey
impl PartialEq for SshPublicKey
impl StructuralPartialEq for SshPublicKey
Auto Trait Implementations§
impl Freeze for SshPublicKey
impl RefUnwindSafe for SshPublicKey
impl Send for SshPublicKey
impl Sync for SshPublicKey
impl Unpin for SshPublicKey
impl UnwindSafe for SshPublicKey
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