pub enum IntakeStatus {
Missing,
Partial,
Supported,
Unclear,
}Expand description
Intake status of a CRUX competitive-research story (metadata.intake_status).
The vocabulary is closed and is exactly STATUS_BADGE in
scripts/crux_scaffold_contracts.py, the generator that emits all 275
crux-*-v1.yaml files: supported, partial, missing, unclear.
This is an ENUM rather than a String on purpose (aprender#2555). A field
serde never parsed cannot be checked by any validator, and a field parsed as
String can only be linted — a lint is advisory and the caller may ignore
it. Making the type closed pushes the check into deserialization, so an
invented value is not a warning about a contract, it is not a contract.
Variants§
Missing
apr has no surface for this story.
Partial
apr has a partial surface; parity gaps remain.
Supported
apr reaches parity with the competitor’s canonical verb.
Unclear
The competitor’s behaviour has not been pinned down yet.
Trait Implementations§
Source§impl Clone for IntakeStatus
impl Clone for IntakeStatus
Source§fn clone(&self) -> IntakeStatus
fn clone(&self) -> IntakeStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for IntakeStatus
Source§impl Debug for IntakeStatus
impl Debug for IntakeStatus
Source§impl<'de> Deserialize<'de> for IntakeStatus
impl<'de> Deserialize<'de> for IntakeStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntakeStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntakeStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Display for IntakeStatus
impl Display for IntakeStatus
impl Eq for IntakeStatus
Source§impl PartialEq for IntakeStatus
impl PartialEq for IntakeStatus
Source§impl Serialize for IntakeStatus
impl Serialize for IntakeStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for IntakeStatus
Auto Trait Implementations§
impl Freeze for IntakeStatus
impl RefUnwindSafe for IntakeStatus
impl Send for IntakeStatus
impl Sync for IntakeStatus
impl Unpin for IntakeStatus
impl UnsafeUnpin for IntakeStatus
impl UnwindSafe for IntakeStatus
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
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>,
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
key and return true if they are equal.