pub enum EvolutionEvent {
Show 17 variants
MutationDeclared {
mutation: PreparedMutation,
},
MutationApplied {
mutation_id: MutationId,
patch_hash: String,
changed_files: Vec<String>,
},
SignalsExtracted {
mutation_id: MutationId,
hash: String,
signals: Vec<String>,
},
MutationRejected {
mutation_id: MutationId,
reason: String,
},
ValidationPassed {
mutation_id: MutationId,
report: ValidationSnapshot,
gene_id: Option<GeneId>,
},
ValidationFailed {
mutation_id: MutationId,
report: ValidationSnapshot,
gene_id: Option<GeneId>,
},
CapsuleCommitted {
capsule: Capsule,
},
CapsuleQuarantined {
capsule_id: CapsuleId,
},
CapsuleReleased {
capsule_id: CapsuleId,
state: AssetState,
},
CapsuleReused {
capsule_id: CapsuleId,
gene_id: GeneId,
run_id: RunId,
replay_run_id: Option<RunId>,
},
GeneProjected {
gene: Gene,
},
GenePromoted {
gene_id: GeneId,
},
GeneRevoked {
gene_id: GeneId,
reason: String,
},
GeneArchived {
gene_id: GeneId,
},
PromotionEvaluated {
gene_id: GeneId,
state: AssetState,
reason: String,
},
RemoteAssetImported {
source: CandidateSource,
asset_ids: Vec<String>,
},
SpecLinked {
mutation_id: MutationId,
spec_id: String,
},
}Variants§
MutationDeclared
Fields
§
mutation: PreparedMutationMutationApplied
SignalsExtracted
MutationRejected
ValidationPassed
ValidationFailed
CapsuleCommitted
CapsuleQuarantined
CapsuleReleased
CapsuleReused
GeneProjected
GenePromoted
GeneRevoked
GeneArchived
PromotionEvaluated
RemoteAssetImported
SpecLinked
Trait Implementations§
Source§impl Clone for EvolutionEvent
impl Clone for EvolutionEvent
Source§fn clone(&self) -> EvolutionEvent
fn clone(&self) -> EvolutionEvent
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 EvolutionEvent
impl Debug for EvolutionEvent
Source§impl<'de> Deserialize<'de> for EvolutionEvent
impl<'de> Deserialize<'de> for EvolutionEvent
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 EvolutionEvent
impl RefUnwindSafe for EvolutionEvent
impl Send for EvolutionEvent
impl Sync for EvolutionEvent
impl Unpin for EvolutionEvent
impl UnsafeUnpin for EvolutionEvent
impl UnwindSafe for EvolutionEvent
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