pub struct InputStateEvent {
pub timestamp: DateTime<Utc>,
pub state: InputLifecycleState,
pub detail: Option<String>,
}Expand description
An event on an input’s state (for event sourcing).
Fields§
§timestamp: DateTime<Utc>When the event occurred.
state: InputLifecycleStateThe new lifecycle state.
detail: Option<String>Optional detail.
Trait Implementations§
Source§impl Clone for InputStateEvent
impl Clone for InputStateEvent
Source§fn clone(&self) -> InputStateEvent
fn clone(&self) -> InputStateEvent
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 InputStateEvent
impl Debug for InputStateEvent
Source§impl<'de> Deserialize<'de> for InputStateEvent
impl<'de> Deserialize<'de> for InputStateEvent
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 InputStateEvent
impl RefUnwindSafe for InputStateEvent
impl Send for InputStateEvent
impl Sync for InputStateEvent
impl Unpin for InputStateEvent
impl UnsafeUnpin for InputStateEvent
impl UnwindSafe for InputStateEvent
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