pub struct AutonomousMutationProposal {
pub proposal_id: String,
pub plan_id: String,
pub dedupe_key: String,
pub scope: Option<AutonomousProposalScope>,
pub expected_evidence: Vec<String>,
pub rollback_conditions: Vec<String>,
pub approval_mode: AutonomousApprovalMode,
pub proposed: bool,
pub reason_code: AutonomousProposalReasonCode,
pub summary: String,
pub denial_condition: Option<AutonomousDenialCondition>,
pub fail_closed: bool,
}Expand description
A machine-readable mutation proposal generated from an approved autonomous plan.
Fields§
§proposal_id: StringStable proposal identity hash.
plan_id: StringMatches AutonomousTaskPlan.plan_id.
dedupe_key: StringMatches AutonomousTaskPlan.dedupe_key.
scope: Option<AutonomousProposalScope>Bounded file scope for this mutation.
expected_evidence: Vec<String>Expected evidence templates (cargo commands, lint, tests, etc.).
rollback_conditions: Vec<String>Conditions under which the mutation must be rolled back.
approval_mode: AutonomousApprovalModeApproval mode for this proposal.
proposed: boolWhether this proposal was successfully generated.
reason_code: AutonomousProposalReasonCodeStable outcome reason code.
summary: StringHuman-readable summary.
denial_condition: Option<AutonomousDenialCondition>Structured denial information, populated when proposed is false.
fail_closed: boolTrue on any non-proposed outcome — enforces fail-closed semantics.
Trait Implementations§
Source§impl Clone for AutonomousMutationProposal
impl Clone for AutonomousMutationProposal
Source§fn clone(&self) -> AutonomousMutationProposal
fn clone(&self) -> AutonomousMutationProposal
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 AutonomousMutationProposal
impl Debug for AutonomousMutationProposal
Source§impl<'de> Deserialize<'de> for AutonomousMutationProposal
impl<'de> Deserialize<'de> for AutonomousMutationProposal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AutonomousMutationProposal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AutonomousMutationProposal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AutonomousMutationProposal
impl Serialize for AutonomousMutationProposal
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 AutonomousMutationProposal
impl StructuralPartialEq for AutonomousMutationProposal
Auto Trait Implementations§
impl Freeze for AutonomousMutationProposal
impl RefUnwindSafe for AutonomousMutationProposal
impl Send for AutonomousMutationProposal
impl Sync for AutonomousMutationProposal
impl Unpin for AutonomousMutationProposal
impl UnsafeUnpin for AutonomousMutationProposal
impl UnwindSafe for AutonomousMutationProposal
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§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.