pub trait Insights {
// Required method
fn get_workflow_timeseries<'life0, 'async_trait, T>(
&'life0 self,
params: T,
) -> Pin<Box<dyn Future<Output = Result<WorkflowTimeseriesResponse, Error>> + Send + 'async_trait>>
where T: 'async_trait + Borrow<WorkflowTimeseriesRequest> + Send + Sync,
Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn get_workflow_timeseries<'life0, 'async_trait, T>(
&'life0 self,
params: T,
) -> Pin<Box<dyn Future<Output = Result<WorkflowTimeseriesResponse, Error>> + Send + 'async_trait>>where
T: 'async_trait + Borrow<WorkflowTimeseriesRequest> + Send + Sync,
Self: 'async_trait,
'life0: 'async_trait,
fn get_workflow_timeseries<'life0, 'async_trait, T>(
&'life0 self,
params: T,
) -> Pin<Box<dyn Future<Output = Result<WorkflowTimeseriesResponse, Error>> + Send + 'async_trait>>where
T: 'async_trait + Borrow<WorkflowTimeseriesRequest> + Send + Sync,
Self: 'async_trait,
'life0: 'async_trait,
Workflow timeseries data
If no query parameters are supplied, will return timeseries data for all workflows that have ran on the default branch.
When granularity is hourly, up to 48 hours of timeseries
data will be returned. When granularity is daily, up to 90 days of
timeseries data will be returned.
Different combinations of branches and workflow-names can narrow the query
further:
* All workflows, default branch (default, no query parameters)
* All workflows, all branches: all-branches=true
* All workflows on specific branch: branch=feature-branch
* A specified workflow, all branches: workflow-name=build&all-branches=true
* A specified branch on a specified workflow:
workflow-name=build&branch=feature-branch
§Errors
Returns an error if any error occurs whil emaking requests.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.