pub struct IntakeMutation {
pub mutation_id: String,
pub intent: String,
pub target: MutationTarget,
pub expected_effect: String,
pub risk: MutationRisk,
pub signals: Vec<String>,
pub source_event_ids: Vec<String>,
pub priority: i32,
}Expand description
A mutation proposal generated from intake events
Fields§
§mutation_id: StringUnique mutation ID
intent: StringIntent description
target: MutationTargetTarget for the mutation
expected_effect: StringExpected effect
risk: MutationRiskRisk level
signals: Vec<String>Extracted signals that triggered this mutation
source_event_ids: Vec<String>Source event IDs
priority: i32Priority based on severity
Trait Implementations§
Source§impl Clone for IntakeMutation
impl Clone for IntakeMutation
Source§fn clone(&self) -> IntakeMutation
fn clone(&self) -> IntakeMutation
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 IntakeMutation
impl Debug for IntakeMutation
Source§impl<'de> Deserialize<'de> for IntakeMutation
impl<'de> Deserialize<'de> for IntakeMutation
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 From<&IntakeMutation> for MutationIntent
Convert intake mutation to oris-evolution MutationIntent
impl From<&IntakeMutation> for MutationIntent
Convert intake mutation to oris-evolution MutationIntent
Source§fn from(mutation: &IntakeMutation) -> Self
fn from(mutation: &IntakeMutation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntakeMutation
impl RefUnwindSafe for IntakeMutation
impl Send for IntakeMutation
impl Sync for IntakeMutation
impl Unpin for IntakeMutation
impl UnsafeUnpin for IntakeMutation
impl UnwindSafe for IntakeMutation
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