pub enum CapsuleDisposition {
Promoted {
gene_id: String,
score: f64,
},
Quarantined {
reason: String,
},
}Expand description
Outcome of an auto-promotion decision for a single remote capsule.
Variants§
Promoted
Capsule passed the score threshold; its gene was solidified.
Quarantined
Capsule did not pass; held in quarantine.
Trait Implementations§
Source§impl Clone for CapsuleDisposition
impl Clone for CapsuleDisposition
Source§fn clone(&self) -> CapsuleDisposition
fn clone(&self) -> CapsuleDisposition
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 CapsuleDisposition
impl Debug for CapsuleDisposition
Source§impl<'de> Deserialize<'de> for CapsuleDisposition
impl<'de> Deserialize<'de> for CapsuleDisposition
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
Auto Trait Implementations§
impl Freeze for CapsuleDisposition
impl RefUnwindSafe for CapsuleDisposition
impl Send for CapsuleDisposition
impl Sync for CapsuleDisposition
impl Unpin for CapsuleDisposition
impl UnsafeUnpin for CapsuleDisposition
impl UnwindSafe for CapsuleDisposition
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