pub enum EditStatus {
NoOp,
Ready {
changed: Vec<String>,
},
}Expand description
The pipeline verdict. NoOp means the editor changed NOTHING —
decided by CONTENT (byte-identical re-encode), never by the
editor’s exit code. Ready carries the member-level blast
radius: changed lists every resource member the staged push
would write (diff_members’ B-relative non-same paths, with
the ORIGINAL export as A and the re-encode as B).
Variants§
NoOp
Nothing changed — the caller must NOT push and must NOT prompt (no guard, no confirmation, a silent clean exit).
Ready
An edit is staged; changed = what a push would write.
Trait Implementations§
Source§impl Clone for EditStatus
impl Clone for EditStatus
Source§fn clone(&self) -> EditStatus
fn clone(&self) -> EditStatus
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 moreSource§impl Debug for EditStatus
impl Debug for EditStatus
impl Eq for EditStatus
Source§impl PartialEq for EditStatus
impl PartialEq for EditStatus
Source§impl Serialize for EditStatus
impl Serialize for EditStatus
impl StructuralPartialEq for EditStatus
Auto Trait Implementations§
impl Freeze for EditStatus
impl RefUnwindSafe for EditStatus
impl Send for EditStatus
impl Sync for EditStatus
impl Unpin for EditStatus
impl UnsafeUnpin for EditStatus
impl UnwindSafe for EditStatus
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.