pub enum OperationalPhase {
Assessment,
Selection,
Preparation,
Execution,
Sustainment,
Transition,
}Expand description
Operational phase of a newco, aligned with FM 3-05 doctrine.
Variants§
Assessment
Phase 1: Market opportunity validation, resource survey.
Selection
Phase 2: Agent team composition, capability matching, vetting.
Preparation
Phase 3: Agent specialization, workflow calibration, business plan.
Execution
Phase 4: Newco launch, tenant provisioning, active operations.
Sustainment
Phase 5: Heartbeat monitoring, budget enforcement, performance.
Transition
Phase 6: Scale, pivot, franchise replication, or orderly close.
Implementations§
Source§impl OperationalPhase
impl OperationalPhase
Sourcepub const ALL: [OperationalPhase; 6]
pub const ALL: [OperationalPhase; 6]
All six phases in lifecycle order.
Sourcepub fn valid_transitions(self) -> &'static [OperationalPhase]
pub fn valid_transitions(self) -> &'static [OperationalPhase]
Valid forward and backward transitions from this phase.
Sourcepub fn can_transition_to(self, target: OperationalPhase) -> bool
pub fn can_transition_to(self, target: OperationalPhase) -> bool
Check whether a transition to target is permitted.
Sourcepub fn transition(self, target: OperationalPhase) -> Result<OperationalPhase>
pub fn transition(self, target: OperationalPhase) -> Result<OperationalPhase>
Attempt a phase transition, returning an error if invalid.
Sourcepub fn min_roster(self) -> &'static [OdaSlot]
pub fn min_roster(self) -> &'static [OdaSlot]
Minimum ODA slots required to enter this phase.
Trait Implementations§
Source§impl Clone for OperationalPhase
impl Clone for OperationalPhase
Source§fn clone(&self) -> OperationalPhase
fn clone(&self) -> OperationalPhase
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 moreimpl Copy for OperationalPhase
Source§impl Debug for OperationalPhase
impl Debug for OperationalPhase
Source§impl<'de> Deserialize<'de> for OperationalPhase
impl<'de> Deserialize<'de> for OperationalPhase
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
impl Eq for OperationalPhase
Source§impl Hash for OperationalPhase
impl Hash for OperationalPhase
Source§impl Ord for OperationalPhase
impl Ord for OperationalPhase
Source§fn cmp(&self, other: &OperationalPhase) -> Ordering
fn cmp(&self, other: &OperationalPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationalPhase
impl PartialEq for OperationalPhase
Source§fn eq(&self, other: &OperationalPhase) -> bool
fn eq(&self, other: &OperationalPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OperationalPhase
impl PartialOrd for OperationalPhase
Source§impl Serialize for OperationalPhase
impl Serialize for OperationalPhase
impl StructuralPartialEq for OperationalPhase
Auto Trait Implementations§
impl Freeze for OperationalPhase
impl RefUnwindSafe for OperationalPhase
impl Send for OperationalPhase
impl Sync for OperationalPhase
impl Unpin for OperationalPhase
impl UnsafeUnpin for OperationalPhase
impl UnwindSafe for OperationalPhase
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