pub struct ThreadEventBody {
pub reason: ThreadEventReason,
pub thread_id: i64,
}Expand description
Arguments for a Thread event.
Fields§
§reason: ThreadEventReasonThe reason for the event. Values: ‘started’, ‘exited’, etc.
thread_id: i64The identifier of the thread.
Trait Implementations§
Source§impl Clone for ThreadEventBody
impl Clone for ThreadEventBody
Source§fn clone(&self) -> ThreadEventBody
fn clone(&self) -> ThreadEventBody
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 ThreadEventBody
impl Debug for ThreadEventBody
Auto Trait Implementations§
impl Freeze for ThreadEventBody
impl RefUnwindSafe for ThreadEventBody
impl Send for ThreadEventBody
impl Sync for ThreadEventBody
impl Unpin for ThreadEventBody
impl UnsafeUnpin for ThreadEventBody
impl UnwindSafe for ThreadEventBody
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