pub struct StateChange {
pub key: String,
pub old_value: Option<Value>,
pub new_value: Value,
pub change_type: StateChangeType,
}Expand description
State change during execution
Fields§
§key: String§old_value: Option<Value>§new_value: Value§change_type: StateChangeTypeTrait Implementations§
Source§impl Clone for StateChange
impl Clone for StateChange
Source§fn clone(&self) -> StateChange
fn clone(&self) -> StateChange
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 StateChange
impl Debug for StateChange
Source§impl<'de> Deserialize<'de> for StateChange
impl<'de> Deserialize<'de> for StateChange
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 StateChange
impl RefUnwindSafe for StateChange
impl Send for StateChange
impl Sync for StateChange
impl Unpin for StateChange
impl UnwindSafe for StateChange
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