Struct aws_sdk_imagebuilder::types::ComponentState
source · #[non_exhaustive]pub struct ComponentState {
pub status: Option<ComponentStatus>,
pub reason: Option<String>,
}
Expand description
A group of fields that describe the current status of components.
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.status: Option<ComponentStatus>
The current state of the component.
reason: Option<String>
Describes how or why the component changed state.
Implementations§
source§impl ComponentState
impl ComponentState
sourcepub fn builder() -> ComponentStateBuilder
pub fn builder() -> ComponentStateBuilder
Creates a new builder-style object to manufacture ComponentState
.
Trait Implementations§
source§impl Clone for ComponentState
impl Clone for ComponentState
source§fn clone(&self) -> ComponentState
fn clone(&self) -> ComponentState
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 ComponentState
impl Debug for ComponentState
source§impl PartialEq for ComponentState
impl PartialEq for ComponentState
source§fn eq(&self, other: &ComponentState) -> bool
fn eq(&self, other: &ComponentState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComponentState
Auto Trait Implementations§
impl RefUnwindSafe for ComponentState
impl Send for ComponentState
impl Sync for ComponentState
impl Unpin for ComponentState
impl UnwindSafe for ComponentState
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
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>
Creates a shared type from an unshared type.