Struct aws_sdk_transfer::types::ListedHostKey
source · #[non_exhaustive]pub struct ListedHostKey {
pub arn: String,
pub host_key_id: Option<String>,
pub fingerprint: Option<String>,
pub description: Option<String>,
pub type: Option<String>,
pub date_imported: Option<DateTime>,
}
Expand description
Returns properties of the host key that's specified.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: String
The unique Amazon Resource Name (ARN) of the host key.
host_key_id: Option<String>
A unique identifier for the host key.
fingerprint: Option<String>
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
description: Option<String>
The current description for the host key. You can change it by calling the UpdateHostKey
operation and providing a new description.
type: Option<String>
The encryption algorithm that is used for the host key. The Type
parameter is specified by using one of the following values:
-
ssh-rsa
-
ssh-ed25519
-
ecdsa-sha2-nistp256
-
ecdsa-sha2-nistp384
-
ecdsa-sha2-nistp521
date_imported: Option<DateTime>
The date on which the host key was added to the server.
Implementations§
source§impl ListedHostKey
impl ListedHostKey
sourcepub fn host_key_id(&self) -> Option<&str>
pub fn host_key_id(&self) -> Option<&str>
A unique identifier for the host key.
sourcepub fn fingerprint(&self) -> Option<&str>
pub fn fingerprint(&self) -> Option<&str>
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The current description for the host key. You can change it by calling the UpdateHostKey
operation and providing a new description.
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The encryption algorithm that is used for the host key. The Type
parameter is specified by using one of the following values:
-
ssh-rsa
-
ssh-ed25519
-
ecdsa-sha2-nistp256
-
ecdsa-sha2-nistp384
-
ecdsa-sha2-nistp521
sourcepub fn date_imported(&self) -> Option<&DateTime>
pub fn date_imported(&self) -> Option<&DateTime>
The date on which the host key was added to the server.
source§impl ListedHostKey
impl ListedHostKey
sourcepub fn builder() -> ListedHostKeyBuilder
pub fn builder() -> ListedHostKeyBuilder
Creates a new builder-style object to manufacture ListedHostKey
.
Trait Implementations§
source§impl Clone for ListedHostKey
impl Clone for ListedHostKey
source§fn clone(&self) -> ListedHostKey
fn clone(&self) -> ListedHostKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListedHostKey
impl Debug for ListedHostKey
source§impl PartialEq for ListedHostKey
impl PartialEq for ListedHostKey
source§fn eq(&self, other: &ListedHostKey) -> bool
fn eq(&self, other: &ListedHostKey) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListedHostKey
Auto Trait Implementations§
impl Freeze for ListedHostKey
impl RefUnwindSafe for ListedHostKey
impl Send for ListedHostKey
impl Sync for ListedHostKey
impl Unpin for ListedHostKey
impl UnwindSafe for ListedHostKey
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more