pub struct ScheduledQueryRun {
pub created: Timestamp,
pub data_load_time: Timestamp,
pub error: Option<SigmaScheduledQueryRunError>,
pub file: Option<File>,
pub id: ScheduledQueryRunId,
pub livemode: bool,
pub result_available_until: Timestamp,
pub sql: String,
pub status: String,
pub title: String,
}Expand description
If you have scheduled a Sigma query, you’ll
receive a sigma.scheduled_query_run.created webhook each time the query
runs. The webhook contains a ScheduledQueryRun object, which you can use to
retrieve the query results.
For more details see <https://stripe.com/docs/api/sigma/scheduled_queries/object>.
Fields§
§created: TimestampTime at which the object was created. Measured in seconds since the Unix epoch.
data_load_time: TimestampWhen the query was run, Sigma contained a snapshot of your Stripe data at this time.
error: Option<SigmaScheduledQueryRunError>§file: Option<File>The file object representing the results of the query.
id: ScheduledQueryRunIdUnique identifier for the object.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
result_available_until: TimestampTime at which the result expires and is no longer available for download.
sql: StringSQL for the query.
status: StringThe query’s execution status, which will be completed for successful runs, and canceled, failed, or timed_out otherwise.
title: StringTitle of the query.
Trait Implementations§
Source§impl Clone for ScheduledQueryRun
impl Clone for ScheduledQueryRun
Source§fn clone(&self) -> ScheduledQueryRun
fn clone(&self) -> ScheduledQueryRun
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more