#[non_exhaustive]pub struct ScheduledQueryRunSummary {
pub invocation_time: Option<DateTime>,
pub trigger_time: Option<DateTime>,
pub run_status: Option<ScheduledQueryRunStatus>,
pub execution_stats: Option<ExecutionStats>,
pub error_report_location: Option<ErrorReportLocation>,
pub failure_reason: Option<String>,
}
Expand description
Run summary for the scheduled query
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.invocation_time: Option<DateTime>
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime
can be used in the query to get the value.
trigger_time: Option<DateTime>
The actual time when the query was run.
run_status: Option<ScheduledQueryRunStatus>
The status of a scheduled query run.
execution_stats: Option<ExecutionStats>
Runtime statistics for a scheduled run.
error_report_location: Option<ErrorReportLocation>
S3 location for error report.
failure_reason: Option<String>
Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
Implementations§
source§impl ScheduledQueryRunSummary
impl ScheduledQueryRunSummary
sourcepub fn invocation_time(&self) -> Option<&DateTime>
pub fn invocation_time(&self) -> Option<&DateTime>
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime
can be used in the query to get the value.
sourcepub fn trigger_time(&self) -> Option<&DateTime>
pub fn trigger_time(&self) -> Option<&DateTime>
The actual time when the query was run.
sourcepub fn run_status(&self) -> Option<&ScheduledQueryRunStatus>
pub fn run_status(&self) -> Option<&ScheduledQueryRunStatus>
The status of a scheduled query run.
sourcepub fn execution_stats(&self) -> Option<&ExecutionStats>
pub fn execution_stats(&self) -> Option<&ExecutionStats>
Runtime statistics for a scheduled run.
sourcepub fn error_report_location(&self) -> Option<&ErrorReportLocation>
pub fn error_report_location(&self) -> Option<&ErrorReportLocation>
S3 location for error report.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
source§impl ScheduledQueryRunSummary
impl ScheduledQueryRunSummary
sourcepub fn builder() -> ScheduledQueryRunSummaryBuilder
pub fn builder() -> ScheduledQueryRunSummaryBuilder
Creates a new builder-style object to manufacture ScheduledQueryRunSummary
.
Trait Implementations§
source§impl Clone for ScheduledQueryRunSummary
impl Clone for ScheduledQueryRunSummary
source§fn clone(&self) -> ScheduledQueryRunSummary
fn clone(&self) -> ScheduledQueryRunSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduledQueryRunSummary
impl Debug for ScheduledQueryRunSummary
source§impl PartialEq for ScheduledQueryRunSummary
impl PartialEq for ScheduledQueryRunSummary
source§fn eq(&self, other: &ScheduledQueryRunSummary) -> bool
fn eq(&self, other: &ScheduledQueryRunSummary) -> bool
self
and other
values to be equal, and is used
by ==
.