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: Timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
data_load_time: Timestamp
When 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: ScheduledQueryRunId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
result_available_until: Timestamp
Time at which the result expires and is no longer available for download.
sql: String
SQL for the query.
status: String
The query’s execution status, which will be completed
for successful runs, and canceled
, failed
, or timed_out
otherwise.
title: String
Title 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