pub struct BpmnMigrationPlanCheck {
pub from_version: i64,
pub to_version: i64,
pub bpmn_flow_path: String,
pub eligible: bool,
pub identity: bool,
pub executable_today: bool,
pub plan: Option<Box<BpmnMigrationPlan>>,
pub blockers: Vec<BpmnMappingBlocker>,
}Expand description
BpmnMigrationPlanCheck : Whether a mapping document holds for a version pair, and the substitution it resolves to. Nothing is written by the operations that return this.
Fields§
§from_version: i64§to_version: i64§bpmn_flow_path: String§eligible: boolthe mapping document holds against this pair
identity: boolthe resolved plan rewrites nothing, so the pair is identity-migratable and process_status must not be touched
executable_today: boolthis migration can be performed with what exists today. Equal to identity until the engine-side applier lands – a non-identity plan is validated but not yet applicable.
plan: Option<Box<BpmnMigrationPlan>>§blockers: Vec<BpmnMappingBlocker>Implementations§
Source§impl BpmnMigrationPlanCheck
impl BpmnMigrationPlanCheck
Sourcepub fn new(
from_version: i64,
to_version: i64,
bpmn_flow_path: String,
eligible: bool,
identity: bool,
executable_today: bool,
blockers: Vec<BpmnMappingBlocker>,
) -> BpmnMigrationPlanCheck
pub fn new( from_version: i64, to_version: i64, bpmn_flow_path: String, eligible: bool, identity: bool, executable_today: bool, blockers: Vec<BpmnMappingBlocker>, ) -> BpmnMigrationPlanCheck
Whether a mapping document holds for a version pair, and the substitution it resolves to. Nothing is written by the operations that return this.
Trait Implementations§
Source§impl Clone for BpmnMigrationPlanCheck
impl Clone for BpmnMigrationPlanCheck
Source§fn clone(&self) -> BpmnMigrationPlanCheck
fn clone(&self) -> BpmnMigrationPlanCheck
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 BpmnMigrationPlanCheck
impl Debug for BpmnMigrationPlanCheck
Source§impl Default for BpmnMigrationPlanCheck
impl Default for BpmnMigrationPlanCheck
Source§fn default() -> BpmnMigrationPlanCheck
fn default() -> BpmnMigrationPlanCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BpmnMigrationPlanCheck
impl<'de> Deserialize<'de> for BpmnMigrationPlanCheck
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 BpmnMigrationPlanCheck
impl PartialEq for BpmnMigrationPlanCheck
Source§impl Serialize for BpmnMigrationPlanCheck
impl Serialize for BpmnMigrationPlanCheck
impl StructuralPartialEq for BpmnMigrationPlanCheck
Auto Trait Implementations§
impl Freeze for BpmnMigrationPlanCheck
impl RefUnwindSafe for BpmnMigrationPlanCheck
impl Send for BpmnMigrationPlanCheck
impl Sync for BpmnMigrationPlanCheck
impl Unpin for BpmnMigrationPlanCheck
impl UnsafeUnpin for BpmnMigrationPlanCheck
impl UnwindSafe for BpmnMigrationPlanCheck
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