Struct aws_sdk_gamelift::types::InstanceCredentials
source · #[non_exhaustive]pub struct InstanceCredentials {
pub user_name: Option<String>,
pub secret: Option<String>,
}Expand description
Set of credentials required to remotely access a fleet instance.
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.user_name: Option<String>User login string.
secret: Option<String>Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it is a private key (which must be saved as a .pem file) for use with SSH.
Implementations§
source§impl InstanceCredentials
impl InstanceCredentials
sourcepub fn builder() -> InstanceCredentialsBuilder
pub fn builder() -> InstanceCredentialsBuilder
Creates a new builder-style object to manufacture InstanceCredentials.
Trait Implementations§
source§impl Clone for InstanceCredentials
impl Clone for InstanceCredentials
source§fn clone(&self) -> InstanceCredentials
fn clone(&self) -> InstanceCredentials
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 InstanceCredentials
impl Debug for InstanceCredentials
source§impl PartialEq<InstanceCredentials> for InstanceCredentials
impl PartialEq<InstanceCredentials> for InstanceCredentials
source§fn eq(&self, other: &InstanceCredentials) -> bool
fn eq(&self, other: &InstanceCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InstanceCredentials
Auto Trait Implementations§
impl RefUnwindSafe for InstanceCredentials
impl Send for InstanceCredentials
impl Sync for InstanceCredentials
impl Unpin for InstanceCredentials
impl UnwindSafe for InstanceCredentials
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