Struct aws_sdk_opsworks::model::OperatingSystem
source · [−]#[non_exhaustive]pub struct OperatingSystem {
pub name: Option<String>,
pub id: Option<String>,
pub type: Option<String>,
pub configuration_managers: Option<Vec<OperatingSystemConfigurationManager>>,
pub reported_name: Option<String>,
pub reported_version: Option<String>,
pub supported: Option<bool>,
}
Expand description
Describes supported operating systems in AWS OpsWorks Stacks.
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.name: Option<String>
The name of the operating system, such as Amazon Linux 2018.03
.
id: Option<String>
The ID of a supported operating system, such as Amazon Linux 2018.03
.
type: Option<String>
The type of a supported operating system, either Linux
or Windows
.
configuration_managers: Option<Vec<OperatingSystemConfigurationManager>>
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
reported_name: Option<String>
A short name for the operating system manufacturer.
reported_version: Option<String>
The version of the operating system, including the release and edition, if applicable.
supported: Option<bool>
Indicates that an operating system is not supported for new instances.
Implementations
sourceimpl OperatingSystem
impl OperatingSystem
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the operating system, such as Amazon Linux 2018.03
.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The ID of a supported operating system, such as Amazon Linux 2018.03
.
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of a supported operating system, either Linux
or Windows
.
sourcepub fn configuration_managers(
&self
) -> Option<&[OperatingSystemConfigurationManager]>
pub fn configuration_managers(
&self
) -> Option<&[OperatingSystemConfigurationManager]>
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
sourcepub fn reported_name(&self) -> Option<&str>
pub fn reported_name(&self) -> Option<&str>
A short name for the operating system manufacturer.
sourcepub fn reported_version(&self) -> Option<&str>
pub fn reported_version(&self) -> Option<&str>
The version of the operating system, including the release and edition, if applicable.
sourceimpl OperatingSystem
impl OperatingSystem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OperatingSystem
Trait Implementations
sourceimpl Clone for OperatingSystem
impl Clone for OperatingSystem
sourcefn clone(&self) -> OperatingSystem
fn clone(&self) -> OperatingSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OperatingSystem
impl Debug for OperatingSystem
sourceimpl PartialEq<OperatingSystem> for OperatingSystem
impl PartialEq<OperatingSystem> for OperatingSystem
sourcefn eq(&self, other: &OperatingSystem) -> bool
fn eq(&self, other: &OperatingSystem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OperatingSystem) -> bool
fn ne(&self, other: &OperatingSystem) -> bool
This method tests for !=
.
impl StructuralPartialEq for OperatingSystem
Auto Trait Implementations
impl RefUnwindSafe for OperatingSystem
impl Send for OperatingSystem
impl Sync for OperatingSystem
impl Unpin for OperatingSystem
impl UnwindSafe for OperatingSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more