pub struct StateChanges {
pub updates: Vec<StateUpdate>,
}Expand description
Current state changes produced by one successful child operation.
Fields§
§updates: Vec<StateUpdate>Stable replace-or-remove updates consumed by kcode-agent-runtime.
Implementations§
Source§impl StateChanges
impl StateChanges
Sourcepub fn display_text(&self) -> String
pub fn display_text(&self) -> String
Complete changed values, in update order, for a result that displays them.
Sourcepub fn displayed_state_keys(&self) -> Vec<String>
pub fn displayed_state_keys(&self) -> Vec<String>
Keys for every complete current value returned by Self::display_text.
Trait Implementations§
Source§impl Clone for StateChanges
impl Clone for StateChanges
Source§fn clone(&self) -> StateChanges
fn clone(&self) -> StateChanges
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StateChanges
impl Debug for StateChanges
Source§impl Default for StateChanges
impl Default for StateChanges
Source§fn default() -> StateChanges
fn default() -> StateChanges
Returns the “default value” for a type. Read more
impl Eq for StateChanges
Source§impl PartialEq for StateChanges
impl PartialEq for StateChanges
impl StructuralPartialEq for StateChanges
Auto Trait Implementations§
impl Freeze for StateChanges
impl RefUnwindSafe for StateChanges
impl Send for StateChanges
impl Sync for StateChanges
impl Unpin for StateChanges
impl UnsafeUnpin for StateChanges
impl UnwindSafe for StateChanges
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.