Struct aws_sdk_cloudsearch::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
The status of domain configuration option.
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
A timestamp for when this option was created.
update_date: DateTime
A timestamp for when this option was last updated.
update_version: i32
A unique integer that indicates when this option was last updated.
state: OptionState
The state of processing a change to an option. Possible values:
RequiresIndexDocuments
: the option's latest value will not be deployed untilIndexDocuments
has been called and indexing is complete.Processing
: the option's latest value is in the process of being activated.Active
: the option's latest value is completely deployed.FailedToValidate
: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents.
pending_deletion: Option<bool>
Indicates that the option will be deleted once processing is complete.
Implementations§
source§impl OptionStatus
impl OptionStatus
sourcepub fn creation_date(&self) -> &DateTime
pub fn creation_date(&self) -> &DateTime
A timestamp for when this option was created.
sourcepub fn update_date(&self) -> &DateTime
pub fn update_date(&self) -> &DateTime
A timestamp for when this option was last updated.
sourcepub fn update_version(&self) -> i32
pub fn update_version(&self) -> i32
A unique integer that indicates when this option was last updated.
sourcepub fn state(&self) -> &OptionState
pub fn state(&self) -> &OptionState
The state of processing a change to an option. Possible values:
RequiresIndexDocuments
: the option's latest value will not be deployed untilIndexDocuments
has been called and indexing is complete.Processing
: the option's latest value is in the process of being activated.Active
: the option's latest value is completely deployed.FailedToValidate
: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents.
sourcepub fn pending_deletion(&self) -> Option<bool>
pub fn pending_deletion(&self) -> Option<bool>
Indicates that the option will be deleted once processing is complete.
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.