#[non_exhaustive]pub struct ImportHostKeyInput {
pub server_id: Option<String>,
pub host_key_body: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.server_id: Option<String>
The identifier of the server that contains the host key that you are importing.
host_key_body: Option<String>
The private key portion of an SSH key pair.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
description: Option<String>
The text description that identifies this host key.
Key-value pairs that can be used to group and search for host keys.
Implementations§
source§impl ImportHostKeyInput
impl ImportHostKeyInput
sourcepub fn server_id(&self) -> Option<&str>
pub fn server_id(&self) -> Option<&str>
The identifier of the server that contains the host key that you are importing.
sourcepub fn host_key_body(&self) -> Option<&str>
pub fn host_key_body(&self) -> Option<&str>
The private key portion of an SSH key pair.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The text description that identifies this host key.
Key-value pairs that can be used to group and search for host keys.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ImportHostKeyInput
impl ImportHostKeyInput
sourcepub fn builder() -> ImportHostKeyInputBuilder
pub fn builder() -> ImportHostKeyInputBuilder
Creates a new builder-style object to manufacture ImportHostKeyInput
.
Trait Implementations§
source§impl Clone for ImportHostKeyInput
impl Clone for ImportHostKeyInput
source§fn clone(&self) -> ImportHostKeyInput
fn clone(&self) -> ImportHostKeyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportHostKeyInput
impl Debug for ImportHostKeyInput
source§impl PartialEq for ImportHostKeyInput
impl PartialEq for ImportHostKeyInput
source§fn eq(&self, other: &ImportHostKeyInput) -> bool
fn eq(&self, other: &ImportHostKeyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportHostKeyInput
Auto Trait Implementations§
impl Freeze for ImportHostKeyInput
impl RefUnwindSafe for ImportHostKeyInput
impl Send for ImportHostKeyInput
impl Sync for ImportHostKeyInput
impl Unpin for ImportHostKeyInput
impl UnwindSafe for ImportHostKeyInput
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