pub struct AmendOutcome {
pub applied: bool,
pub amendment_count: usize,
}Expand description
Structured output from run_amend for programmatic consumers (MCP).
Fields§
§applied: booltrue when amendments were applied to the repository; false when the
file contained no amendments (nothing to do).
amendment_count: usizeNumber of amendments in the supplied file.
Trait Implementations§
Source§impl Clone for AmendOutcome
impl Clone for AmendOutcome
Source§fn clone(&self) -> AmendOutcome
fn clone(&self) -> AmendOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AmendOutcome
impl RefUnwindSafe for AmendOutcome
impl Send for AmendOutcome
impl Sync for AmendOutcome
impl Unpin for AmendOutcome
impl UnsafeUnpin for AmendOutcome
impl UnwindSafe for AmendOutcome
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