#[non_exhaustive]pub struct ExecutionStatsBuilder { /* private fields */ }Expand description
A builder for ExecutionStats.
Implementations§
source§impl ExecutionStatsBuilder
impl ExecutionStatsBuilder
sourcepub fn execution_time_in_millis(self, input: i64) -> Self
pub fn execution_time_in_millis(self, input: i64) -> Self
Total time, measured in milliseconds, that was needed for the scheduled query run to complete.
sourcepub fn set_execution_time_in_millis(self, input: Option<i64>) -> Self
pub fn set_execution_time_in_millis(self, input: Option<i64>) -> Self
Total time, measured in milliseconds, that was needed for the scheduled query run to complete.
sourcepub fn get_execution_time_in_millis(&self) -> &Option<i64>
pub fn get_execution_time_in_millis(&self) -> &Option<i64>
Total time, measured in milliseconds, that was needed for the scheduled query run to complete.
sourcepub fn data_writes(self, input: i64) -> Self
pub fn data_writes(self, input: i64) -> Self
Data writes metered for records ingested in a single scheduled query run.
sourcepub fn set_data_writes(self, input: Option<i64>) -> Self
pub fn set_data_writes(self, input: Option<i64>) -> Self
Data writes metered for records ingested in a single scheduled query run.
sourcepub fn get_data_writes(&self) -> &Option<i64>
pub fn get_data_writes(&self) -> &Option<i64>
Data writes metered for records ingested in a single scheduled query run.
sourcepub fn bytes_metered(self, input: i64) -> Self
pub fn bytes_metered(self, input: i64) -> Self
Bytes metered for a single scheduled query run.
sourcepub fn set_bytes_metered(self, input: Option<i64>) -> Self
pub fn set_bytes_metered(self, input: Option<i64>) -> Self
Bytes metered for a single scheduled query run.
sourcepub fn get_bytes_metered(&self) -> &Option<i64>
pub fn get_bytes_metered(&self) -> &Option<i64>
Bytes metered for a single scheduled query run.
sourcepub fn cumulative_bytes_scanned(self, input: i64) -> Self
pub fn cumulative_bytes_scanned(self, input: i64) -> Self
Bytes scanned for a single scheduled query run.
sourcepub fn set_cumulative_bytes_scanned(self, input: Option<i64>) -> Self
pub fn set_cumulative_bytes_scanned(self, input: Option<i64>) -> Self
Bytes scanned for a single scheduled query run.
sourcepub fn get_cumulative_bytes_scanned(&self) -> &Option<i64>
pub fn get_cumulative_bytes_scanned(&self) -> &Option<i64>
Bytes scanned for a single scheduled query run.
sourcepub fn records_ingested(self, input: i64) -> Self
pub fn records_ingested(self, input: i64) -> Self
The number of records ingested for a single scheduled query run.
sourcepub fn set_records_ingested(self, input: Option<i64>) -> Self
pub fn set_records_ingested(self, input: Option<i64>) -> Self
The number of records ingested for a single scheduled query run.
sourcepub fn get_records_ingested(&self) -> &Option<i64>
pub fn get_records_ingested(&self) -> &Option<i64>
The number of records ingested for a single scheduled query run.
sourcepub fn query_result_rows(self, input: i64) -> Self
pub fn query_result_rows(self, input: i64) -> Self
Number of rows present in the output from running a query before ingestion to destination data source.
sourcepub fn set_query_result_rows(self, input: Option<i64>) -> Self
pub fn set_query_result_rows(self, input: Option<i64>) -> Self
Number of rows present in the output from running a query before ingestion to destination data source.
sourcepub fn get_query_result_rows(&self) -> &Option<i64>
pub fn get_query_result_rows(&self) -> &Option<i64>
Number of rows present in the output from running a query before ingestion to destination data source.
sourcepub fn build(self) -> ExecutionStats
pub fn build(self) -> ExecutionStats
Consumes the builder and constructs a ExecutionStats.
Trait Implementations§
source§impl Clone for ExecutionStatsBuilder
impl Clone for ExecutionStatsBuilder
source§fn clone(&self) -> ExecutionStatsBuilder
fn clone(&self) -> ExecutionStatsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecutionStatsBuilder
impl Debug for ExecutionStatsBuilder
source§impl Default for ExecutionStatsBuilder
impl Default for ExecutionStatsBuilder
source§fn default() -> ExecutionStatsBuilder
fn default() -> ExecutionStatsBuilder
source§impl PartialEq for ExecutionStatsBuilder
impl PartialEq for ExecutionStatsBuilder
source§fn eq(&self, other: &ExecutionStatsBuilder) -> bool
fn eq(&self, other: &ExecutionStatsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExecutionStatsBuilder
Auto Trait Implementations§
impl Freeze for ExecutionStatsBuilder
impl RefUnwindSafe for ExecutionStatsBuilder
impl Send for ExecutionStatsBuilder
impl Sync for ExecutionStatsBuilder
impl Unpin for ExecutionStatsBuilder
impl UnwindSafe for ExecutionStatsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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