Struct aws_sdk_servicediscovery::types::OperationSummary
source · #[non_exhaustive]pub struct OperationSummary {
pub id: Option<String>,
pub status: Option<OperationStatus>,
}Expand description
A complex type that contains information about an operation that matches the criteria that you specified in a ListOperations request.
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.id: Option<String>The ID for an operation.
status: Option<OperationStatus>The status of the operation. Values include the following:
-
SUBMITTED: This is the initial state immediately after you submit a request.
-
PENDING: Cloud Map is performing the operation.
-
SUCCESS: The operation succeeded.
-
FAIL: The operation failed. For the failure reason, see
ErrorMessage.
Implementations§
source§impl OperationSummary
impl OperationSummary
sourcepub fn status(&self) -> Option<&OperationStatus>
pub fn status(&self) -> Option<&OperationStatus>
The status of the operation. Values include the following:
-
SUBMITTED: This is the initial state immediately after you submit a request.
-
PENDING: Cloud Map is performing the operation.
-
SUCCESS: The operation succeeded.
-
FAIL: The operation failed. For the failure reason, see
ErrorMessage.
source§impl OperationSummary
impl OperationSummary
sourcepub fn builder() -> OperationSummaryBuilder
pub fn builder() -> OperationSummaryBuilder
Creates a new builder-style object to manufacture OperationSummary.
Trait Implementations§
source§impl Clone for OperationSummary
impl Clone for OperationSummary
source§fn clone(&self) -> OperationSummary
fn clone(&self) -> OperationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OperationSummary
impl Debug for OperationSummary
source§impl PartialEq for OperationSummary
impl PartialEq for OperationSummary
impl StructuralPartialEq for OperationSummary
Auto Trait Implementations§
impl Freeze for OperationSummary
impl RefUnwindSafe for OperationSummary
impl Send for OperationSummary
impl Sync for OperationSummary
impl Unpin for OperationSummary
impl UnwindSafe for OperationSummary
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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