Struct aws_sdk_datasync::model::FilterRule
source · [−]#[non_exhaustive]pub struct FilterRule {
pub filter_type: Option<FilterType>,
pub value: Option<String>,
}
Expand description
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
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.filter_type: Option<FilterType>
The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.
value: Option<String>
A single filter string that consists of the patterns to include or exclude. The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2
Implementations
The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.
Creates a new builder-style object to manufacture FilterRule
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FilterRule
impl Send for FilterRule
impl Sync for FilterRule
impl Unpin for FilterRule
impl UnwindSafe for FilterRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more