pub struct FileUpdateResult {
pub file_type: String,
pub operation_performed: String,
pub file_path: String,
pub content_length: usize,
pub success: bool,
pub error_message: Option<String>,
pub lines_modified: Option<usize>,
pub patch_type: Option<String>,
pub match_confidence: Option<f32>,
}
Expand description
Individual file update result within a multi-file update operation
Fields§
§file_type: String
Type of file updated (“spec”, “tasks”, or “notes”)
operation_performed: String
Operation performed (“replace”, “append”, or “context_patch”)
file_path: String
Full path to the updated file
content_length: usize
Length of final content in characters
success: bool
Whether the update operation succeeded
error_message: Option<String>
Error message if the operation failed (None if successful)
lines_modified: Option<usize>
Number of lines modified (for context patches)
patch_type: Option<String>
Type of patch applied (“Insert”, “Replace”, “Delete” for context patches)
match_confidence: Option<f32>
Confidence score of context match (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for FileUpdateResult
impl Clone for FileUpdateResult
Source§fn clone(&self) -> FileUpdateResult
fn clone(&self) -> FileUpdateResult
Returns a duplicate of the value. Read more
1.0.0 · 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 FileUpdateResult
impl Debug for FileUpdateResult
Source§impl<'de> Deserialize<'de> for FileUpdateResult
impl<'de> Deserialize<'de> for FileUpdateResult
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 FileUpdateResult
impl RefUnwindSafe for FileUpdateResult
impl Send for FileUpdateResult
impl Sync for FileUpdateResult
impl Unpin for FileUpdateResult
impl UnwindSafe for FileUpdateResult
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