#[non_exhaustive]pub struct ImportSshPublicKeyOutput {
pub server_id: Option<String>,
pub ssh_public_key_id: Option<String>,
pub user_name: Option<String>,
/* private fields */
}Expand description
Identifies the user, the server they belong to, and the identifier of the SSH public key associated with that user. A user can have more than one key on each server that they are associated with.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.server_id: Option<String>A system-assigned unique identifier for a server.
ssh_public_key_id: Option<String>The name given to a public key by the system that was imported.
user_name: Option<String>A user name assigned to the ServerID value that you specified.
Implementations§
source§impl ImportSshPublicKeyOutput
impl ImportSshPublicKeyOutput
sourcepub fn ssh_public_key_id(&self) -> Option<&str>
pub fn ssh_public_key_id(&self) -> Option<&str>
The name given to a public key by the system that was imported.
source§impl ImportSshPublicKeyOutput
impl ImportSshPublicKeyOutput
sourcepub fn builder() -> ImportSshPublicKeyOutputBuilder
pub fn builder() -> ImportSshPublicKeyOutputBuilder
Creates a new builder-style object to manufacture ImportSshPublicKeyOutput.
Trait Implementations§
source§impl Clone for ImportSshPublicKeyOutput
impl Clone for ImportSshPublicKeyOutput
source§fn clone(&self) -> ImportSshPublicKeyOutput
fn clone(&self) -> ImportSshPublicKeyOutput
Returns a copy 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 ImportSshPublicKeyOutput
impl Debug for ImportSshPublicKeyOutput
source§impl PartialEq for ImportSshPublicKeyOutput
impl PartialEq for ImportSshPublicKeyOutput
source§fn eq(&self, other: &ImportSshPublicKeyOutput) -> bool
fn eq(&self, other: &ImportSshPublicKeyOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for ImportSshPublicKeyOutput
impl RequestId for ImportSshPublicKeyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for ImportSshPublicKeyOutput
Auto Trait Implementations§
impl RefUnwindSafe for ImportSshPublicKeyOutput
impl Send for ImportSshPublicKeyOutput
impl Sync for ImportSshPublicKeyOutput
impl Unpin for ImportSshPublicKeyOutput
impl UnwindSafe for ImportSshPublicKeyOutput
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