pub struct StateDiff {
pub todos: Option<Vec<TodoItem>>,
pub files: Option<BTreeMap<String, String>>,
pub scratchpad: Option<BTreeMap<String, Value>>,
}
Expand description
Represents a state delta emitted by tools to be applied by the runtime.
Fields§
§todos: Option<Vec<TodoItem>>
§files: Option<BTreeMap<String, String>>
§scratchpad: Option<BTreeMap<String, Value>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateDiff
impl<'de> Deserialize<'de> for StateDiff
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 StateDiff
impl RefUnwindSafe for StateDiff
impl Send for StateDiff
impl Sync for StateDiff
impl Unpin for StateDiff
impl UnwindSafe for StateDiff
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