pub struct ScheduledQueryRun {
pub created: i64,
pub data_load_time: i64,
pub error: Option<SigmaScheduledQueryRunError>,
pub file: Option<Value>,
pub id: String,
pub livemode: bool,
pub object: String,
pub result_available_until: i64,
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.
Fields§
§created: i64Time at which the object was created. Measured in seconds since the Unix epoch.
data_load_time: i64When the query was run, Sigma contained a snapshot of your Stripe data at this time.
error: Option<SigmaScheduledQueryRunError>§file: Option<Value>The file object representing the results of the query.
id: StringUnique 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.
object: StringString representing the object’s type. Objects of the same type share the same value.
result_available_until: i64Time 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