#[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 ==
.impl StructuralPartialEq for ScheduledQueryRunSummary
Auto Trait Implementations§
impl Freeze for ScheduledQueryRunSummary
impl RefUnwindSafe for ScheduledQueryRunSummary
impl Send for ScheduledQueryRunSummary
impl Sync for ScheduledQueryRunSummary
impl Unpin for ScheduledQueryRunSummary
impl UnwindSafe for ScheduledQueryRunSummary
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