pub struct SpecResult {
pub index: usize,
pub spec_type: String,
pub changes: usize,
pub affected_files: Vec<WorkspaceFilePath>,
pub affected_symbols: Vec<SymbolPath>,
pub success: bool,
pub error: Option<String>,
pub registry_updates: RegistryUpdateBatch,
pub events: Vec<MutationEvent>,
}Expand description
Result of executing a single MutationSpec
Fields§
§index: usizeIndex in the blueprint
spec_type: StringThe spec that was executed
changes: usizeNumber of changes made
affected_files: Vec<WorkspaceFilePath>Files affected
affected_symbols: Vec<SymbolPath>Symbols affected (for history tracking)
success: boolWhether this spec succeeded
error: Option<String>Error message if failed
registry_updates: RegistryUpdateBatchRegistry updates from this spec
events: Vec<MutationEvent>Mutation events emitted during execution (for incremental updates)
Trait Implementations§
Source§impl Clone for SpecResult
impl Clone for SpecResult
Source§fn clone(&self) -> SpecResult
fn clone(&self) -> SpecResult
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 SpecResult
impl RefUnwindSafe for SpecResult
impl Send for SpecResult
impl Sync for SpecResult
impl Unpin for SpecResult
impl UnsafeUnpin for SpecResult
impl UnwindSafe for SpecResult
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<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>
Converts
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>
Converts
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