Struct aws_sdk_ssmsap::types::AssociatedHost
source · #[non_exhaustive]pub struct AssociatedHost {
pub hostname: Option<String>,
pub ec2_instance_id: Option<String>,
pub os_version: Option<String>,
}Expand description
Describes the properties of the associated host.
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.hostname: Option<String>The name of the host.
ec2_instance_id: Option<String>The ID of the Amazon EC2 instance.
os_version: Option<String>The version of the operating system.
Implementations§
source§impl AssociatedHost
impl AssociatedHost
sourcepub fn builder() -> AssociatedHostBuilder
pub fn builder() -> AssociatedHostBuilder
Creates a new builder-style object to manufacture AssociatedHost.
Trait Implementations§
source§impl Clone for AssociatedHost
impl Clone for AssociatedHost
source§fn clone(&self) -> AssociatedHost
fn clone(&self) -> AssociatedHost
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 AssociatedHost
impl Debug for AssociatedHost
source§impl PartialEq for AssociatedHost
impl PartialEq for AssociatedHost
source§fn eq(&self, other: &AssociatedHost) -> bool
fn eq(&self, other: &AssociatedHost) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociatedHost
Auto Trait Implementations§
impl RefUnwindSafe for AssociatedHost
impl Send for AssociatedHost
impl Sync for AssociatedHost
impl Unpin for AssociatedHost
impl UnwindSafe for AssociatedHost
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