Struct aws_sdk_cloudsearch::model::OptionStatus
source · [−]#[non_exhaustive]pub struct OptionStatus {
pub creation_date: Option<DateTime>,
pub update_date: Option<DateTime>,
pub update_version: i32,
pub state: Option<OptionState>,
pub pending_deletion: Option<bool>,
}Expand description
The status of domain configuration option.
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.creation_date: Option<DateTime>A timestamp for when this option was created.
update_date: Option<DateTime>A timestamp for when this option was last updated.
update_version: i32A unique integer that indicates when this option was last updated.
state: Option<OptionState>The state of processing a change to an option. Possible values:
RequiresIndexDocuments: the option's latest value will not be deployed untilIndexDocumentshas 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
sourceimpl OptionStatus
impl OptionStatus
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
A timestamp for when this option was created.
sourcepub fn update_date(&self) -> Option<&DateTime>
pub fn update_date(&self) -> Option<&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) -> Option<&OptionState>
pub fn state(&self) -> Option<&OptionState>
The state of processing a change to an option. Possible values:
RequiresIndexDocuments: the option's latest value will not be deployed untilIndexDocumentshas 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.
sourceimpl OptionStatus
impl OptionStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OptionStatus
Trait Implementations
sourceimpl Clone for OptionStatus
impl Clone for OptionStatus
sourcefn clone(&self) -> OptionStatus
fn clone(&self) -> OptionStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OptionStatus
impl Debug for OptionStatus
sourceimpl PartialEq<OptionStatus> for OptionStatus
impl PartialEq<OptionStatus> for OptionStatus
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &OptionStatus) -> bool
fn ne(&self, other: &OptionStatus) -> bool
This method tests for !=.
impl StructuralPartialEq for OptionStatus
Auto Trait Implementations
impl RefUnwindSafe for OptionStatus
impl Send for OptionStatus
impl Sync for OptionStatus
impl Unpin for OptionStatus
impl UnwindSafe for OptionStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more