pub struct FilterRule {
pub filter_type: Option<String>,
pub value: Option<String>,
}
Expand description
Specifies which files, folders and objects to include or exclude when transferring files from source to destination.
Fields§
§filter_type: Option<String>
The type of filter rule to apply. AWS 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
Trait Implementations§
Source§impl Clone for FilterRule
impl Clone for FilterRule
Source§fn clone(&self) -> FilterRule
fn clone(&self) -> FilterRule
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 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<'de> Deserialize<'de> for FilterRule
impl<'de> Deserialize<'de> for FilterRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FilterRule
impl PartialEq for FilterRule
Source§impl Serialize for FilterRule
impl Serialize 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