pub struct StatsHistoryQuery {
pub workflow: Option<String>,
pub period: Option<HistoryPeriod>,
pub granularity: Option<HistoryGranularity>,
}Expand description
Query parameters for GET /api/v1/stats/history.
§Examples
use ironflow_api::entities::StatsHistoryQuery;Fields§
§workflow: Option<String>Filter by workflow name. Omit to aggregate all workflows.
period: Option<HistoryPeriod>Time period to query. Defaults to 7d.
granularity: Option<HistoryGranularity>Bucket granularity. Auto-derived from period when omitted.
Trait Implementations§
Source§impl Debug for StatsHistoryQuery
impl Debug for StatsHistoryQuery
Source§impl<'de> Deserialize<'de> for StatsHistoryQuery
impl<'de> Deserialize<'de> for StatsHistoryQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StatsHistoryQuery
impl RefUnwindSafe for StatsHistoryQuery
impl Send for StatsHistoryQuery
impl Sync for StatsHistoryQuery
impl Unpin for StatsHistoryQuery
impl UnsafeUnpin for StatsHistoryQuery
impl UnwindSafe for StatsHistoryQuery
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
Mutably borrows from an owned value. Read more