pub struct FilterConfig {Show 19 fields
pub before_time: Option<DateTime<Utc>>,
pub after_time: Option<DateTime<Utc>>,
pub remove_modified_filter: bool,
pub check_size: bool,
pub check_etag: bool,
pub check_mtime_and_etag: bool,
pub check_checksum_algorithm: Option<ChecksumAlgorithm>,
pub check_mtime_and_additional_checksum: Option<ChecksumAlgorithm>,
pub include_regex: Option<Regex>,
pub exclude_regex: Option<Regex>,
pub include_content_type_regex: Option<Regex>,
pub exclude_content_type_regex: Option<Regex>,
pub include_metadata_regex: Option<Regex>,
pub exclude_metadata_regex: Option<Regex>,
pub include_tag_regex: Option<Regex>,
pub exclude_tag_regex: Option<Regex>,
pub larger_size: Option<u64>,
pub smaller_size: Option<u64>,
pub filter_manager: FilterManager,
}Fields§
§before_time: Option<DateTime<Utc>>§after_time: Option<DateTime<Utc>>§remove_modified_filter: bool§check_size: bool§check_etag: bool§check_mtime_and_etag: bool§check_checksum_algorithm: Option<ChecksumAlgorithm>§check_mtime_and_additional_checksum: Option<ChecksumAlgorithm>§include_regex: Option<Regex>§exclude_regex: Option<Regex>§include_content_type_regex: Option<Regex>§exclude_content_type_regex: Option<Regex>§include_metadata_regex: Option<Regex>§exclude_metadata_regex: Option<Regex>§include_tag_regex: Option<Regex>§exclude_tag_regex: Option<Regex>§larger_size: Option<u64>§smaller_size: Option<u64>§filter_manager: FilterManagerTrait Implementations§
Source§impl Clone for FilterConfig
impl Clone for FilterConfig
Source§fn clone(&self) -> FilterConfig
fn clone(&self) -> FilterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FilterConfig
impl Debug for FilterConfig
Source§impl Default for FilterConfig
impl Default for FilterConfig
Source§fn default() -> FilterConfig
fn default() -> FilterConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FilterConfig
impl !UnwindSafe for FilterConfig
impl Freeze for FilterConfig
impl Send for FilterConfig
impl Sync for FilterConfig
impl Unpin for FilterConfig
impl UnsafeUnpin for FilterConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.