Struct aws_sdk_opensearch::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
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.