pub enum RequestStatus {
New,
InTriage,
Accepted,
Rejected,
Deferred,
Implemented,
Withdrawn,
}Expand description
Status of an engineering change request.
new ──▶ in_triage ──▶ accepted ──▶ implemented (linked change order released)
│ │ ──▶ rejected
│ │ ──▶ deferred ──▶ in_triage (reopened) / accepted / rejected
└──────────┴──▶ withdrawn (by the requester)Variants§
Implementations§
Source§impl RequestStatus
impl RequestStatus
pub const ALL: [RequestStatus; 7]
pub fn as_str(self) -> &'static str
pub fn label(self) -> &'static str
pub fn parse(s: &str) -> Option<RequestStatus>
Sourcepub fn is_open(self) -> bool
pub fn is_open(self) -> bool
Not finished yet: still waiting for a decision or for its change order.
Sourcepub fn can_transition_to(self, to: RequestStatus) -> bool
pub fn can_transition_to(self, to: RequestStatus) -> bool
Allowed status transitions. Everything else is rejected.
Trait Implementations§
Source§impl Clone for RequestStatus
impl Clone for RequestStatus
impl Copy for RequestStatus
Source§impl Debug for RequestStatus
impl Debug for RequestStatus
Source§impl<'de> Deserialize<'de> for RequestStatus
impl<'de> Deserialize<'de> for RequestStatus
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 RequestStatus
Source§impl PartialEq for RequestStatus
impl PartialEq for RequestStatus
Source§impl Serialize for RequestStatus
impl Serialize for RequestStatus
impl StructuralPartialEq for RequestStatus
Auto Trait Implementations§
impl Freeze for RequestStatus
impl RefUnwindSafe for RequestStatus
impl Send for RequestStatus
impl Sync for RequestStatus
impl Unpin for RequestStatus
impl UnsafeUnpin for RequestStatus
impl UnwindSafe for RequestStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.