pub struct StateHistoryEntry {
pub timestamp: DateTime<Utc>,
pub node_id: String,
pub operation: StateOperation,
pub key: String,
pub old_value: Option<StateValue>,
pub new_value: Option<StateValue>,
}Expand description
Entry in the state execution history
Fields§
§timestamp: DateTime<Utc>§node_id: String§operation: StateOperation§key: String§old_value: Option<StateValue>§new_value: Option<StateValue>Trait Implementations§
Source§impl Clone for StateHistoryEntry
impl Clone for StateHistoryEntry
Source§fn clone(&self) -> StateHistoryEntry
fn clone(&self) -> StateHistoryEntry
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 StateHistoryEntry
impl Debug for StateHistoryEntry
Source§impl<'de> Deserialize<'de> for StateHistoryEntry
impl<'de> Deserialize<'de> for StateHistoryEntry
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 StateHistoryEntry
impl RefUnwindSafe for StateHistoryEntry
impl Send for StateHistoryEntry
impl Sync for StateHistoryEntry
impl Unpin for StateHistoryEntry
impl UnwindSafe for StateHistoryEntry
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