pub struct MutationIntent {
pub id: String,
pub intent: String,
pub target: MutationTarget,
pub expected_effect: String,
pub risk: RiskLevel,
pub signals: Vec<String>,
pub spec_id: Option<String>,
}Fields§
§id: String§intent: String§target: MutationTarget§expected_effect: String§risk: RiskLevel§signals: Vec<String>§spec_id: Option<String>Trait Implementations§
Source§impl Clone for MutationIntent
impl Clone for MutationIntent
Source§fn clone(&self) -> MutationIntent
fn clone(&self) -> MutationIntent
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 MutationIntent
impl Debug for MutationIntent
Source§impl<'de> Deserialize<'de> for MutationIntent
impl<'de> Deserialize<'de> for MutationIntent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MutationIntent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MutationIntent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MutationIntent
impl PartialEq for MutationIntent
Source§impl Serialize for MutationIntent
impl Serialize for MutationIntent
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,
Serialize this value into the given Serde serializer. Read more
impl Eq for MutationIntent
impl StructuralPartialEq for MutationIntent
Auto Trait Implementations§
impl Freeze for MutationIntent
impl RefUnwindSafe for MutationIntent
impl Send for MutationIntent
impl Sync for MutationIntent
impl Unpin for MutationIntent
impl UnsafeUnpin for MutationIntent
impl UnwindSafe for MutationIntent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.