Struct aws_sdk_eks::types::Update
source · #[non_exhaustive]pub struct Update {
pub id: Option<String>,
pub status: Option<UpdateStatus>,
pub type: Option<UpdateType>,
pub params: Option<Vec<UpdateParam>>,
pub created_at: Option<DateTime>,
pub errors: Option<Vec<ErrorDetail>>,
}
Expand description
An object representing an asynchronous update.
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>
A UUID that is used to track the update.
status: Option<UpdateStatus>
The current status of the update.
type: Option<UpdateType>
The type of the update.
params: Option<Vec<UpdateParam>>
A key-value map that contains the parameters associated with the update.
created_at: Option<DateTime>
The Unix epoch timestamp at object creation.
errors: Option<Vec<ErrorDetail>>
Any errors associated with a Failed
update.
Implementations§
source§impl Update
impl Update
sourcepub fn status(&self) -> Option<&UpdateStatus>
pub fn status(&self) -> Option<&UpdateStatus>
The current status of the update.
sourcepub fn type(&self) -> Option<&UpdateType>
pub fn type(&self) -> Option<&UpdateType>
The type of the update.
sourcepub fn params(&self) -> &[UpdateParam]
pub fn params(&self) -> &[UpdateParam]
A key-value map that contains the parameters associated with the update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .params.is_none()
.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The Unix epoch timestamp at object creation.
sourcepub fn errors(&self) -> &[ErrorDetail]
pub fn errors(&self) -> &[ErrorDetail]
Any errors associated with a Failed
update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.
Trait Implementations§
source§impl PartialEq for Update
impl PartialEq for Update
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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> 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