Struct aws_sdk_opensearch::types::UpgradeStepItem
source · #[non_exhaustive]pub struct UpgradeStepItem {
pub upgrade_step: Option<UpgradeStep>,
pub upgrade_step_status: Option<UpgradeStatus>,
pub issues: Option<Vec<String>>,
pub progress_percent: Option<f64>,
}
Expand description
Represents a single step of an upgrade or upgrade eligibility check workflow.
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.upgrade_step: Option<UpgradeStep>
One of three steps that an upgrade or upgrade eligibility check goes through:
-
PreUpgradeCheck
-
Snapshot
-
Upgrade
upgrade_step_status: Option<UpgradeStatus>
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
issues: Option<Vec<String>>
A list of strings containing detailed information about the errors encountered in a particular step.
progress_percent: Option<f64>
The floating point value representing the progress percentage of a particular step.
Implementations§
source§impl UpgradeStepItem
impl UpgradeStepItem
sourcepub fn upgrade_step(&self) -> Option<&UpgradeStep>
pub fn upgrade_step(&self) -> Option<&UpgradeStep>
One of three steps that an upgrade or upgrade eligibility check goes through:
-
PreUpgradeCheck
-
Snapshot
-
Upgrade
sourcepub fn upgrade_step_status(&self) -> Option<&UpgradeStatus>
pub fn upgrade_step_status(&self) -> Option<&UpgradeStatus>
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
sourcepub fn issues(&self) -> &[String]
pub fn issues(&self) -> &[String]
A list of strings containing detailed information about the errors encountered in a particular step.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .issues.is_none()
.
sourcepub fn progress_percent(&self) -> Option<f64>
pub fn progress_percent(&self) -> Option<f64>
The floating point value representing the progress percentage of a particular step.
source§impl UpgradeStepItem
impl UpgradeStepItem
sourcepub fn builder() -> UpgradeStepItemBuilder
pub fn builder() -> UpgradeStepItemBuilder
Creates a new builder-style object to manufacture UpgradeStepItem
.
Trait Implementations§
source§impl Clone for UpgradeStepItem
impl Clone for UpgradeStepItem
source§fn clone(&self) -> UpgradeStepItem
fn clone(&self) -> UpgradeStepItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpgradeStepItem
impl Debug for UpgradeStepItem
source§impl PartialEq for UpgradeStepItem
impl PartialEq for UpgradeStepItem
source§fn eq(&self, other: &UpgradeStepItem) -> bool
fn eq(&self, other: &UpgradeStepItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpgradeStepItem
Auto Trait Implementations§
impl Freeze for UpgradeStepItem
impl RefUnwindSafe for UpgradeStepItem
impl Send for UpgradeStepItem
impl Sync for UpgradeStepItem
impl Unpin for UpgradeStepItem
impl UnwindSafe for UpgradeStepItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more