pub struct ThreadSwitchedEvent {
pub event: String,
pub active_id: u32,
pub paused_ids: Vec<u32>,
pub timestamp: u64,
}Fields§
§event: String§active_id: u32§paused_ids: Vec<u32>§timestamp: u64Trait Implementations§
Source§impl Clone for ThreadSwitchedEvent
impl Clone for ThreadSwitchedEvent
Source§fn clone(&self) -> ThreadSwitchedEvent
fn clone(&self) -> ThreadSwitchedEvent
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 ThreadSwitchedEvent
impl Debug for ThreadSwitchedEvent
Source§impl<'de> Deserialize<'de> for ThreadSwitchedEvent
impl<'de> Deserialize<'de> for ThreadSwitchedEvent
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 ThreadSwitchedEvent
impl RefUnwindSafe for ThreadSwitchedEvent
impl Send for ThreadSwitchedEvent
impl Sync for ThreadSwitchedEvent
impl Unpin for ThreadSwitchedEvent
impl UnsafeUnpin for ThreadSwitchedEvent
impl UnwindSafe for ThreadSwitchedEvent
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