Struct aws_sdk_opensearch::types::OptionStatus
source · #[non_exhaustive]pub struct OptionStatus {
pub creation_date: DateTime,
pub update_date: DateTime,
pub update_version: i32,
pub state: OptionState,
pub pending_deletion: Option<bool>,
}
Expand description
Provides the current status of an entity.
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.creation_date: DateTime
The timestamp when the entity was created.
update_date: DateTime
The timestamp of the last time the entity was updated.
update_version: i32
The latest version of the entity.
state: OptionState
The state of the entity.
pending_deletion: Option<bool>
Indicates whether the entity is being deleted.
Implementations§
source§impl OptionStatus
impl OptionStatus
sourcepub fn creation_date(&self) -> &DateTime
pub fn creation_date(&self) -> &DateTime
The timestamp when the entity was created.
sourcepub fn update_date(&self) -> &DateTime
pub fn update_date(&self) -> &DateTime
The timestamp of the last time the entity was updated.
sourcepub fn update_version(&self) -> i32
pub fn update_version(&self) -> i32
The latest version of the entity.
sourcepub fn state(&self) -> &OptionState
pub fn state(&self) -> &OptionState
The state of the entity.
sourcepub fn pending_deletion(&self) -> Option<bool>
pub fn pending_deletion(&self) -> Option<bool>
Indicates whether the entity is being deleted.
source§impl OptionStatus
impl OptionStatus
sourcepub fn builder() -> OptionStatusBuilder
pub fn builder() -> OptionStatusBuilder
Creates a new builder-style object to manufacture OptionStatus
.
Trait Implementations§
source§impl Clone for OptionStatus
impl Clone for OptionStatus
source§fn clone(&self) -> OptionStatus
fn clone(&self) -> OptionStatus
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 OptionStatus
impl Debug for OptionStatus
source§impl PartialEq for OptionStatus
impl PartialEq for OptionStatus
source§fn eq(&self, other: &OptionStatus) -> bool
fn eq(&self, other: &OptionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OptionStatus
Auto Trait Implementations§
impl Freeze for OptionStatus
impl RefUnwindSafe for OptionStatus
impl Send for OptionStatus
impl Sync for OptionStatus
impl Unpin for OptionStatus
impl UnwindSafe for OptionStatus
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.