pub struct PruneProposal {
pub entity: String,
pub artifacts: Vec<String>,
pub class: String,
pub disposition: PruneDisposition,
pub base_retrievable: bool,
pub derived_inputs: Vec<String>,
}Expand description
A single prune proposal — a proposed removal the sync brief surfaces. The engine never enacts it: an agent acting on the sync brief deletes (or keeps) the entity through the MCP mutation surface (A5).
Fields§
§entity: StringThe destination-mem entity id (mem--slug) the proposal concerns.
artifacts: Vec<String>The now-gone source artifacts the entity’s (all-orphaned) anchors referenced, deduplicated and sorted.
class: StringThe entity’s dominant provenance class wire string (the class the disposition was decided from).
disposition: PruneDispositionThe disposition (F2/F3).
base_retrievable: boolWhether the candidate’s source base leg is retrievable (a git-pinned anchor). Drives the never-clobber vs. conflict-flag posture and is surfaced so the brief can state which one applies.
derived_inputs: Vec<String>For a derived candidate: the input artifact refs to re-examine before
any removal (F3). Empty for every other class.
Trait Implementations§
Source§impl Clone for PruneProposal
impl Clone for PruneProposal
Source§fn clone(&self) -> PruneProposal
fn clone(&self) -> PruneProposal
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PruneProposal
impl Debug for PruneProposal
impl Eq for PruneProposal
Source§impl PartialEq for PruneProposal
impl PartialEq for PruneProposal
impl StructuralPartialEq for PruneProposal
Auto Trait Implementations§
impl Freeze for PruneProposal
impl RefUnwindSafe for PruneProposal
impl Send for PruneProposal
impl Sync for PruneProposal
impl Unpin for PruneProposal
impl UnsafeUnpin for PruneProposal
impl UnwindSafe for PruneProposal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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
key and return true if they are equal.impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more