pub struct BpmnFlowVersionRollup {
pub bpmn_flow_path: String,
pub latest_version: Option<Option<i64>>,
pub running_instances: i64,
pub outdated_instances: i64,
pub versions: Vec<BpmnPinnedVersionRollup>,
}Expand description
BpmnFlowVersionRollup : one flow’s live instances split across the versions they are pinned to
Fields§
§bpmn_flow_path: Stringthe flow as it is named now, resolved through bpmn_flow_version.path so a rename does not produce a dead link
latest_version: Option<Option<i64>>what a new start would pin to. Null when the flow row is not visible to the caller or has no deployed version.
running_instances: i64§outdated_instances: i64live instances not on latest_version
versions: Vec<BpmnPinnedVersionRollup>newest pinned version first
Implementations§
Source§impl BpmnFlowVersionRollup
impl BpmnFlowVersionRollup
Sourcepub fn new(
bpmn_flow_path: String,
running_instances: i64,
outdated_instances: i64,
versions: Vec<BpmnPinnedVersionRollup>,
) -> BpmnFlowVersionRollup
pub fn new( bpmn_flow_path: String, running_instances: i64, outdated_instances: i64, versions: Vec<BpmnPinnedVersionRollup>, ) -> BpmnFlowVersionRollup
one flow’s live instances split across the versions they are pinned to
Trait Implementations§
Source§impl Clone for BpmnFlowVersionRollup
impl Clone for BpmnFlowVersionRollup
Source§fn clone(&self) -> BpmnFlowVersionRollup
fn clone(&self) -> BpmnFlowVersionRollup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BpmnFlowVersionRollup
impl Debug for BpmnFlowVersionRollup
Source§impl Default for BpmnFlowVersionRollup
impl Default for BpmnFlowVersionRollup
Source§fn default() -> BpmnFlowVersionRollup
fn default() -> BpmnFlowVersionRollup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BpmnFlowVersionRollup
impl<'de> Deserialize<'de> for BpmnFlowVersionRollup
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 PartialEq for BpmnFlowVersionRollup
impl PartialEq for BpmnFlowVersionRollup
Source§impl Serialize for BpmnFlowVersionRollup
impl Serialize for BpmnFlowVersionRollup
impl StructuralPartialEq for BpmnFlowVersionRollup
Auto Trait Implementations§
impl Freeze for BpmnFlowVersionRollup
impl RefUnwindSafe for BpmnFlowVersionRollup
impl Send for BpmnFlowVersionRollup
impl Sync for BpmnFlowVersionRollup
impl Unpin for BpmnFlowVersionRollup
impl UnsafeUnpin for BpmnFlowVersionRollup
impl UnwindSafe for BpmnFlowVersionRollup
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