pub struct ExecuteResult {
pub changes: Vec<FileChange>,
pub total_modifications: usize,
pub unmatched_qualified_paths: HashMap<String, usize>,
pub parse_errors: Vec<(PathBuf, String)>,
pub last_error: Option<String>,
pub limit_hit: bool,
pub run_id: Option<String>,
pub files_modified: Vec<FileModification>,
}Fields§
§changes: Vec<FileChange>§total_modifications: usize§unmatched_qualified_paths: HashMap<String, usize>§parse_errors: Vec<(PathBuf, String)>§last_error: Option<String>Last per-file apply error from a multi-file run (single-file errors bubble up).
limit_hit: bool§run_id: Option<String>Set when execute_with_state applied changes successfully.
files_modified: Vec<FileModification>Per-file metadata captured for state tracking. Empty for execute().
Trait Implementations§
Source§impl Debug for ExecuteResult
impl Debug for ExecuteResult
Source§impl Default for ExecuteResult
impl Default for ExecuteResult
Source§fn default() -> ExecuteResult
fn default() -> ExecuteResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecuteResult
impl<'de> Deserialize<'de> for ExecuteResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecuteResult
impl RefUnwindSafe for ExecuteResult
impl Send for ExecuteResult
impl Sync for ExecuteResult
impl Unpin for ExecuteResult
impl UnsafeUnpin for ExecuteResult
impl UnwindSafe for ExecuteResult
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