pub struct TwiddleOutcome {
pub amendments_yaml: String,
pub applied: bool,
pub amendment_count: usize,
}Expand description
Structured output from run_twiddle for programmatic consumers (MCP).
Fields§
§amendments_yaml: StringYAML serialisation of the generated AmendmentFile.
applied: booltrue when amendments were applied to the repository; false for a
dry-run or when no amendments were generated.
amendment_count: usizeNumber of amendments generated.
Trait Implementations§
Source§impl Clone for TwiddleOutcome
impl Clone for TwiddleOutcome
Source§fn clone(&self) -> TwiddleOutcome
fn clone(&self) -> TwiddleOutcome
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 moreAuto Trait Implementations§
impl Freeze for TwiddleOutcome
impl RefUnwindSafe for TwiddleOutcome
impl Send for TwiddleOutcome
impl Sync for TwiddleOutcome
impl Unpin for TwiddleOutcome
impl UnsafeUnpin for TwiddleOutcome
impl UnwindSafe for TwiddleOutcome
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