Struct scsys_core::State
source · [−]Expand description
Implement the standard structure of a state
Fields
message: String
state: S
timestamp: Timestamp
Implementations
Trait Implementations
sourceimpl<'de, S> Deserialize<'de> for State<S> where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for State<S> where
S: Deserialize<'de>,
sourcefn 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
impl<S> StructuralPartialEq for State<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for State<S> where
S: RefUnwindSafe,
impl<S> Send for State<S> where
S: Send,
impl<S> Sync for State<S> where
S: Sync,
impl<S> Unpin for State<S> where
S: Unpin,
impl<S> UnwindSafe for State<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more