#[non_exhaustive]pub struct GetUpgradeStatusOutput {
pub upgrade_step: Option<UpgradeStep>,
pub step_status: Option<UpgradeStatus>,
pub upgrade_name: Option<String>,
/* private fields */
}
Expand description
Container for response returned by
operation. GetUpgradeStatus
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.upgrade_step: Option<UpgradeStep>
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
step_status: Option<UpgradeStatus>
One of 4 statuses that a step can go through returned as part of the
object. The status can take one of the following values: GetUpgradeStatusResponse
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
upgrade_name: Option<String>
A string that describes the update briefly
Implementations§
source§impl GetUpgradeStatusOutput
impl GetUpgradeStatusOutput
sourcepub fn upgrade_step(&self) -> Option<&UpgradeStep>
pub fn upgrade_step(&self) -> Option<&UpgradeStep>
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
sourcepub fn step_status(&self) -> Option<&UpgradeStatus>
pub fn step_status(&self) -> Option<&UpgradeStatus>
One of 4 statuses that a step can go through returned as part of the
object. The status can take one of the following values: GetUpgradeStatusResponse
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
sourcepub fn upgrade_name(&self) -> Option<&str>
pub fn upgrade_name(&self) -> Option<&str>
A string that describes the update briefly
source§impl GetUpgradeStatusOutput
impl GetUpgradeStatusOutput
sourcepub fn builder() -> GetUpgradeStatusOutputBuilder
pub fn builder() -> GetUpgradeStatusOutputBuilder
Creates a new builder-style object to manufacture GetUpgradeStatusOutput
.
Trait Implementations§
source§impl Clone for GetUpgradeStatusOutput
impl Clone for GetUpgradeStatusOutput
source§fn clone(&self) -> GetUpgradeStatusOutput
fn clone(&self) -> GetUpgradeStatusOutput
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 GetUpgradeStatusOutput
impl Debug for GetUpgradeStatusOutput
source§impl PartialEq for GetUpgradeStatusOutput
impl PartialEq for GetUpgradeStatusOutput
source§fn eq(&self, other: &GetUpgradeStatusOutput) -> bool
fn eq(&self, other: &GetUpgradeStatusOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetUpgradeStatusOutput
impl RequestId for GetUpgradeStatusOutput
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 GetUpgradeStatusOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetUpgradeStatusOutput
impl Send for GetUpgradeStatusOutput
impl Sync for GetUpgradeStatusOutput
impl Unpin for GetUpgradeStatusOutput
impl UnwindSafe for GetUpgradeStatusOutput
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.