Struct aws_sdk_glue::types::CrawlsFilter
source · #[non_exhaustive]pub struct CrawlsFilter {
pub field_name: Option<FieldName>,
pub filter_operator: Option<FilterOperator>,
pub field_value: Option<String>,
}
Expand description
A list of fields, comparators and value that you can use to filter the crawler runs for a specified crawler.
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.field_name: Option<FieldName>
A key used to filter the crawler runs for a specified crawler. Valid values for each of the field names are:
-
CRAWL_ID
: A string representing the UUID identifier for a crawl. -
STATE
: A string representing the state of the crawl. -
START_TIME
andEND_TIME
: The epoch timestamp in milliseconds. -
DPU_HOUR
: The number of data processing unit (DPU) hours used for the crawl.
filter_operator: Option<FilterOperator>
A defined comparator that operates on the value. The available operators are:
-
GT
: Greater than. -
GE
: Greater than or equal to. -
LT
: Less than. -
LE
: Less than or equal to. -
EQ
: Equal to. -
NE
: Not equal to.
field_value: Option<String>
The value provided for comparison on the crawl field.
Implementations§
source§impl CrawlsFilter
impl CrawlsFilter
sourcepub fn field_name(&self) -> Option<&FieldName>
pub fn field_name(&self) -> Option<&FieldName>
A key used to filter the crawler runs for a specified crawler. Valid values for each of the field names are:
-
CRAWL_ID
: A string representing the UUID identifier for a crawl. -
STATE
: A string representing the state of the crawl. -
START_TIME
andEND_TIME
: The epoch timestamp in milliseconds. -
DPU_HOUR
: The number of data processing unit (DPU) hours used for the crawl.
sourcepub fn filter_operator(&self) -> Option<&FilterOperator>
pub fn filter_operator(&self) -> Option<&FilterOperator>
A defined comparator that operates on the value. The available operators are:
-
GT
: Greater than. -
GE
: Greater than or equal to. -
LT
: Less than. -
LE
: Less than or equal to. -
EQ
: Equal to. -
NE
: Not equal to.
sourcepub fn field_value(&self) -> Option<&str>
pub fn field_value(&self) -> Option<&str>
The value provided for comparison on the crawl field.
source§impl CrawlsFilter
impl CrawlsFilter
sourcepub fn builder() -> CrawlsFilterBuilder
pub fn builder() -> CrawlsFilterBuilder
Creates a new builder-style object to manufacture CrawlsFilter
.
Trait Implementations§
source§impl Clone for CrawlsFilter
impl Clone for CrawlsFilter
source§fn clone(&self) -> CrawlsFilter
fn clone(&self) -> CrawlsFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CrawlsFilter
impl Debug for CrawlsFilter
source§impl PartialEq for CrawlsFilter
impl PartialEq for CrawlsFilter
source§fn eq(&self, other: &CrawlsFilter) -> bool
fn eq(&self, other: &CrawlsFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CrawlsFilter
Auto Trait Implementations§
impl Freeze for CrawlsFilter
impl RefUnwindSafe for CrawlsFilter
impl Send for CrawlsFilter
impl Sync for CrawlsFilter
impl Unpin for CrawlsFilter
impl UnwindSafe for CrawlsFilter
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
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>
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>
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 more