pub struct WorkflowStats {
pub total_workflows: usize,
pub total_executions: u64,
pub running_executions: usize,
pub completed_executions: u64,
pub failed_executions: u64,
pub average_execution_time: Duration,
}Expand description
Workflow statistics.
Fields§
§total_workflows: usizeTotal number of registered workflows
total_executions: u64Total number of executions started
running_executions: usizeNumber of currently running executions
completed_executions: u64Number of completed executions
failed_executions: u64Number of failed executions
average_execution_time: DurationAverage time to complete an execution
Trait Implementations§
Source§impl Clone for WorkflowStats
impl Clone for WorkflowStats
Source§fn clone(&self) -> WorkflowStats
fn clone(&self) -> WorkflowStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkflowStats
impl Debug for WorkflowStats
Source§impl Default for WorkflowStats
impl Default for WorkflowStats
Source§fn default() -> WorkflowStats
fn default() -> WorkflowStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowStats
impl<'de> Deserialize<'de> for WorkflowStats
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 WorkflowStats
impl RefUnwindSafe for WorkflowStats
impl Send for WorkflowStats
impl Sync for WorkflowStats
impl Unpin for WorkflowStats
impl UnsafeUnpin for WorkflowStats
impl UnwindSafe for WorkflowStats
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