pub enum QuarantineReason {
LowScore {
score: f64,
},
SignatureInvalid,
GeneMissing,
}Expand description
Reason a capsule was held in quarantine.
Variants§
LowScore
Capsule composite score was below the promotion threshold.
SignatureInvalid
Signature verification failed (placeholder until P3-02).
GeneMissing
The capsule’s gene could not be located.
Trait Implementations§
Source§impl Clone for QuarantineReason
impl Clone for QuarantineReason
Source§fn clone(&self) -> QuarantineReason
fn clone(&self) -> QuarantineReason
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 QuarantineReason
impl Debug for QuarantineReason
Source§impl<'de> Deserialize<'de> for QuarantineReason
impl<'de> Deserialize<'de> for QuarantineReason
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 Display for QuarantineReason
impl Display for QuarantineReason
Source§impl PartialEq for QuarantineReason
impl PartialEq for QuarantineReason
Source§impl Serialize for QuarantineReason
impl Serialize for QuarantineReason
impl StructuralPartialEq for QuarantineReason
Auto Trait Implementations§
impl Freeze for QuarantineReason
impl RefUnwindSafe for QuarantineReason
impl Send for QuarantineReason
impl Sync for QuarantineReason
impl Unpin for QuarantineReason
impl UnsafeUnpin for QuarantineReason
impl UnwindSafe for QuarantineReason
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