Struct flowmium::record::FlowListRecord
source · pub struct FlowListRecord {
pub id: i32,
pub flow_name: String,
pub status: FlowStatus,
pub num_running: Option<i32>,
pub num_finished: Option<i32>,
pub num_failed: Option<i32>,
pub num_total: Option<i32>,
}
Expand description
Brief status summary of a flow.
Fields§
§id: i32
Unique identifier for the flow.
flow_name: String
Name of the flow as specified in crate::model::Flow
.
status: FlowStatus
Status of the flow.
num_running: Option<i32>
Number of tasks belonging to this flow that are currently running.
num_finished: Option<i32>
Number of tasks belonging to this flow that have finished.
num_failed: Option<i32>
Number of tasks belonging to this flow that have failed.
num_total: Option<i32>
Total number of tasks defined in the flow.
Trait Implementations§
source§impl Clone for FlowListRecord
impl Clone for FlowListRecord
source§fn clone(&self) -> FlowListRecord
fn clone(&self) -> FlowListRecord
Returns a copy 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 FlowListRecord
impl Debug for FlowListRecord
source§impl<'de> Deserialize<'de> for FlowListRecord
impl<'de> Deserialize<'de> for FlowListRecord
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
source§impl<'a, R: Row> FromRow<'a, R> for FlowListRecord
impl<'a, R: Row> FromRow<'a, R> for FlowListRecord
source§impl PartialEq for FlowListRecord
impl PartialEq for FlowListRecord
source§fn eq(&self, other: &FlowListRecord) -> bool
fn eq(&self, other: &FlowListRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FlowListRecord
impl Serialize for FlowListRecord
impl StructuralPartialEq for FlowListRecord
Auto Trait Implementations§
impl RefUnwindSafe for FlowListRecord
impl Send for FlowListRecord
impl Sync for FlowListRecord
impl Unpin for FlowListRecord
impl UnwindSafe for FlowListRecord
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