Struct aws_sdk_elasticsearch::types::ModifyingProperties
source · #[non_exhaustive]pub struct ModifyingProperties {
pub name: Option<String>,
pub active_value: Option<String>,
pub pending_value: Option<String>,
pub value_type: Option<PropertyValueType>,
}
Expand description
Information about the domain properties that are currently being modified.
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.name: Option<String>
The name of the property that is currently being modified.
active_value: Option<String>
The current value of the domain property that is being modified.
pending_value: Option<String>
The value that the property that is currently being modified will eventually have.
value_type: Option<PropertyValueType>
The type of value that is currently being modified. Properties can have two types:
- PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search".
- STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".
Implementations§
source§impl ModifyingProperties
impl ModifyingProperties
sourcepub fn active_value(&self) -> Option<&str>
pub fn active_value(&self) -> Option<&str>
The current value of the domain property that is being modified.
sourcepub fn pending_value(&self) -> Option<&str>
pub fn pending_value(&self) -> Option<&str>
The value that the property that is currently being modified will eventually have.
sourcepub fn value_type(&self) -> Option<&PropertyValueType>
pub fn value_type(&self) -> Option<&PropertyValueType>
The type of value that is currently being modified. Properties can have two types:
- PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search".
- STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".
source§impl ModifyingProperties
impl ModifyingProperties
sourcepub fn builder() -> ModifyingPropertiesBuilder
pub fn builder() -> ModifyingPropertiesBuilder
Creates a new builder-style object to manufacture ModifyingProperties
.
Trait Implementations§
source§impl Clone for ModifyingProperties
impl Clone for ModifyingProperties
source§fn clone(&self) -> ModifyingProperties
fn clone(&self) -> ModifyingProperties
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 ModifyingProperties
impl Debug for ModifyingProperties
source§impl PartialEq for ModifyingProperties
impl PartialEq for ModifyingProperties
source§fn eq(&self, other: &ModifyingProperties) -> bool
fn eq(&self, other: &ModifyingProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyingProperties
Auto Trait Implementations§
impl Freeze for ModifyingProperties
impl RefUnwindSafe for ModifyingProperties
impl Send for ModifyingProperties
impl Sync for ModifyingProperties
impl Unpin for ModifyingProperties
impl UnwindSafe for ModifyingProperties
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.