Struct aws_sdk_s3::model::InventoryFilter
source · #[non_exhaustive]pub struct InventoryFilter { /* private fields */ }
Expand description
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
Implementations§
source§impl InventoryFilter
impl InventoryFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryFilter
.
Examples found in repository?
src/xml_deser.rs (line 6053)
6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073
pub fn deser_structure_crate_model_inventory_filter(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::InventoryFilter, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::InventoryFilter::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Prefix") /* Prefix com.amazonaws.s3#InventoryFilter$Prefix */ => {
let var_333 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_prefix(var_333);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for InventoryFilter
impl Clone for InventoryFilter
source§fn clone(&self) -> InventoryFilter
fn clone(&self) -> InventoryFilter
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