Struct aws_sdk_cloudsearch::model::ExpressionStatus
source · #[non_exhaustive]pub struct ExpressionStatus { /* private fields */ }Expand description
The value of an Expression and its current status.
Implementations§
source§impl ExpressionStatus
impl ExpressionStatus
sourcepub fn options(&self) -> Option<&Expression>
pub fn options(&self) -> Option<&Expression>
The expression that is evaluated for sorting while processing a search request.
sourcepub fn status(&self) -> Option<&OptionStatus>
pub fn status(&self) -> Option<&OptionStatus>
The status of domain configuration option.
source§impl ExpressionStatus
impl ExpressionStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExpressionStatus.
Examples found in repository?
src/xml_deser.rs (line 1922)
1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949
pub fn deser_structure_crate_model_expression_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ExpressionStatus, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ExpressionStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Options") /* Options com.amazonaws.cloudsearch#ExpressionStatus$Options */ => {
let var_58 =
Some(
crate::xml_deser::deser_structure_crate_model_expression(&mut tag)
?
)
;
builder = builder.set_options(var_58);
}
,
s if s.matches("Status") /* Status com.amazonaws.cloudsearch#ExpressionStatus$Status */ => {
let var_59 =
Some(
crate::xml_deser::deser_structure_crate_model_option_status(&mut tag)
?
)
;
builder = builder.set_status(var_59);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for ExpressionStatus
impl Clone for ExpressionStatus
source§fn clone(&self) -> ExpressionStatus
fn clone(&self) -> ExpressionStatus
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 more