pub struct FilterRule {
pub name: Option<String>,
pub value: Option<String>,
}Expand description
Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.
Fields§
§name: Option<String>The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide.
value: Option<String>The value that the filter searches for in object key names.
Trait Implementations§
Source§impl Clone for FilterRule
impl Clone for FilterRule
Source§fn clone(&self) -> FilterRule
fn clone(&self) -> FilterRule
Returns a duplicate 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 FilterRule
impl Debug for FilterRule
Source§impl Default for FilterRule
impl Default for FilterRule
Source§fn default() -> FilterRule
fn default() -> FilterRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for FilterRule
impl PartialEq for FilterRule
impl StructuralPartialEq for FilterRule
Auto Trait Implementations§
impl Freeze for FilterRule
impl RefUnwindSafe for FilterRule
impl Send for FilterRule
impl Sync for FilterRule
impl Unpin for FilterRule
impl UnwindSafe for FilterRule
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