pub struct StateNotification {
pub instrument_name: Option<String>,
pub state: Option<StateNotificationState>,
pub timestamp: Option<i64>,
}Fields§
§instrument_name: Option<String>§state: Option<StateNotificationState>§timestamp: Option<i64>Trait Implementations§
Source§impl Clone for StateNotification
impl Clone for StateNotification
Source§fn clone(&self) -> StateNotification
fn clone(&self) -> StateNotification
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 StateNotification
impl Debug for StateNotification
Source§impl Default for StateNotification
impl Default for StateNotification
Source§fn default() -> StateNotification
fn default() -> StateNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StateNotification
impl<'de> Deserialize<'de> for StateNotification
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
Source§impl PartialEq for StateNotification
impl PartialEq for StateNotification
Source§impl Serialize for StateNotification
impl Serialize for StateNotification
impl StructuralPartialEq for StateNotification
Auto Trait Implementations§
impl Freeze for StateNotification
impl RefUnwindSafe for StateNotification
impl Send for StateNotification
impl Sync for StateNotification
impl Unpin for StateNotification
impl UnwindSafe for StateNotification
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