pub struct FileChangeState {
pub path: PathBuf,
pub change: Option<FileChangeKind>,
pub diff: Option<String>,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub extra: BTreeMap<String, Value>,
}Expand description
File change or diff applied by the agent.
Fields§
§path: PathBuf§change: Option<FileChangeKind>§diff: Option<String>§exit_code: Option<i32>§stdout: String§stderr: String§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for FileChangeState
impl Clone for FileChangeState
Source§fn clone(&self) -> FileChangeState
fn clone(&self) -> FileChangeState
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 FileChangeState
impl Debug for FileChangeState
Source§impl<'de> Deserialize<'de> for FileChangeState
impl<'de> Deserialize<'de> for FileChangeState
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 FileChangeState
impl RefUnwindSafe for FileChangeState
impl Send for FileChangeState
impl Sync for FileChangeState
impl Unpin for FileChangeState
impl UnsafeUnpin for FileChangeState
impl UnwindSafe for FileChangeState
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