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
source§fn eq(&self, other: &OperationSummary) -> bool
fn eq(&self, other: &OperationSummary) -> bool
self and other values to be equal, and is used
by ==.