pub struct ToolDiff {
pub lines: Vec<String>,
pub path: String,
}Expand description
Pre-split diff payload — picked from the first non-empty
change[k].raw on a structural step. Lines are pre-split so the
renderer doesn’t repeat the work.
JSON schema
{
"description": "Pre-split diff payload — picked from the first non-empty\n`change[k].raw` on a structural step. Lines are pre-split so the\nrenderer doesn't repeat the work.",
"type": "object",
"required": [
"lines",
"path"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"path": {
"type": "string"
}
}
}Fields§
§lines: Vec<String>§path: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ToolDiff
impl<'de> Deserialize<'de> for ToolDiff
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 ToolDiff
impl RefUnwindSafe for ToolDiff
impl Send for ToolDiff
impl Sync for ToolDiff
impl Unpin for ToolDiff
impl UnsafeUnpin for ToolDiff
impl UnwindSafe for ToolDiff
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