pub enum SpecStatus {
Draft,
InProgress,
Completed,
OnHold,
}
Expand description
Status of a specification throughout its lifecycle.
Specifications progress through different states as they are developed and implemented. This enum tracks the current state of a specification to help teams understand progress and coordinate work.
§States
Draft
- Initial state for new specifications under developmentInProgress
- Specification is actively being implemented or worked onCompleted
- Implementation is finished and the specification is fulfilledOnHold
- Work is paused temporarily due to dependencies or priorities
§Examples
use project_manager_mcp::models::specification::SpecStatus;
// New specification starts as draft
let status = SpecStatus::Draft;
// Progress through implementation
let status = SpecStatus::InProgress;
// Mark as completed when done
let status = SpecStatus::Completed;
Variants§
Draft
Initial state for new specifications under development
InProgress
Specification is actively being implemented or worked on
Completed
Implementation is finished and the specification is fulfilled
OnHold
Work is paused temporarily due to dependencies or priorities
Trait Implementations§
Source§impl Clone for SpecStatus
impl Clone for SpecStatus
Source§fn clone(&self) -> SpecStatus
fn clone(&self) -> SpecStatus
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 SpecStatus
impl Debug for SpecStatus
Source§impl<'de> Deserialize<'de> for SpecStatus
impl<'de> Deserialize<'de> for SpecStatus
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 SpecStatus
impl PartialEq for SpecStatus
Source§impl Serialize for SpecStatus
impl Serialize for SpecStatus
impl Eq for SpecStatus
impl StructuralPartialEq for SpecStatus
Auto Trait Implementations§
impl Freeze for SpecStatus
impl RefUnwindSafe for SpecStatus
impl Send for SpecStatus
impl Sync for SpecStatus
impl Unpin for SpecStatus
impl UnwindSafe for SpecStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.