Struct aws_sdk_glue::types::CrawlerMetrics
source · #[non_exhaustive]pub struct CrawlerMetrics {
pub crawler_name: Option<String>,
pub time_left_seconds: f64,
pub still_estimating: bool,
pub last_runtime_seconds: f64,
pub median_runtime_seconds: f64,
pub tables_created: i32,
pub tables_updated: i32,
pub tables_deleted: i32,
}Expand description
Metrics 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.crawler_name: Option<String>The name of the crawler.
time_left_seconds: f64The estimated time left to complete a running crawl.
still_estimating: boolTrue if the crawler is still estimating how long it will take to complete this run.
last_runtime_seconds: f64The duration of the crawler's most recent run, in seconds.
median_runtime_seconds: f64The median duration of this crawler's runs, in seconds.
tables_created: i32The number of tables created by this crawler.
tables_updated: i32The number of tables updated by this crawler.
tables_deleted: i32The number of tables deleted by this crawler.
Implementations§
source§impl CrawlerMetrics
impl CrawlerMetrics
sourcepub fn crawler_name(&self) -> Option<&str>
pub fn crawler_name(&self) -> Option<&str>
The name of the crawler.
sourcepub fn time_left_seconds(&self) -> f64
pub fn time_left_seconds(&self) -> f64
The estimated time left to complete a running crawl.
sourcepub fn still_estimating(&self) -> bool
pub fn still_estimating(&self) -> bool
True if the crawler is still estimating how long it will take to complete this run.
sourcepub fn last_runtime_seconds(&self) -> f64
pub fn last_runtime_seconds(&self) -> f64
The duration of the crawler's most recent run, in seconds.
sourcepub fn median_runtime_seconds(&self) -> f64
pub fn median_runtime_seconds(&self) -> f64
The median duration of this crawler's runs, in seconds.
sourcepub fn tables_created(&self) -> i32
pub fn tables_created(&self) -> i32
The number of tables created by this crawler.
sourcepub fn tables_updated(&self) -> i32
pub fn tables_updated(&self) -> i32
The number of tables updated by this crawler.
sourcepub fn tables_deleted(&self) -> i32
pub fn tables_deleted(&self) -> i32
The number of tables deleted by this crawler.
source§impl CrawlerMetrics
impl CrawlerMetrics
sourcepub fn builder() -> CrawlerMetricsBuilder
pub fn builder() -> CrawlerMetricsBuilder
Creates a new builder-style object to manufacture CrawlerMetrics.
Trait Implementations§
source§impl Clone for CrawlerMetrics
impl Clone for CrawlerMetrics
source§fn clone(&self) -> CrawlerMetrics
fn clone(&self) -> CrawlerMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CrawlerMetrics
impl Debug for CrawlerMetrics
source§impl PartialEq for CrawlerMetrics
impl PartialEq for CrawlerMetrics
source§fn eq(&self, other: &CrawlerMetrics) -> bool
fn eq(&self, other: &CrawlerMetrics) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CrawlerMetrics
Auto Trait Implementations§
impl Freeze for CrawlerMetrics
impl RefUnwindSafe for CrawlerMetrics
impl Send for CrawlerMetrics
impl Sync for CrawlerMetrics
impl Unpin for CrawlerMetrics
impl UnwindSafe for CrawlerMetrics
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