pub struct StatsHistoryBucketResponse {
pub time: DateTime<Utc>,
pub completed: u64,
pub failed: u64,
pub cancelled: u64,
pub avg_duration_ms: u64,
pub p95_duration_ms: u64,
pub total_cost_usd: Decimal,
}Expand description
One time bucket in the history response.
§Examples
use ironflow_api::entities::StatsHistoryBucketResponse;Fields§
§time: DateTime<Utc>Start of the time bucket.
completed: u64Number of completed runs in this bucket.
failed: u64Number of failed runs in this bucket.
cancelled: u64Number of cancelled runs in this bucket.
avg_duration_ms: u64Average duration in milliseconds.
p95_duration_ms: u6495th percentile duration in milliseconds.
total_cost_usd: DecimalTotal cost in USD.
Trait Implementations§
Source§impl Debug for StatsHistoryBucketResponse
impl Debug for StatsHistoryBucketResponse
Auto Trait Implementations§
impl Freeze for StatsHistoryBucketResponse
impl RefUnwindSafe for StatsHistoryBucketResponse
impl Send for StatsHistoryBucketResponse
impl Sync for StatsHistoryBucketResponse
impl Unpin for StatsHistoryBucketResponse
impl UnsafeUnpin for StatsHistoryBucketResponse
impl UnwindSafe for StatsHistoryBucketResponse
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