pub struct ScheduleEvent {
pub id: usize,
pub start_stop: StartStop,
}
Expand description
Operator start or stop.
Fields§
§id: usize
Worker-unique identifier for the operator, linkable to the identifiers in OperatesEvent
.
start_stop: StartStop
Start
if the operator is starting, Stop
if it is stopping.
activity is true if it looks like some useful work was performed during this call (data was
read or written, notifications were requested / delivered)
Implementations§
Trait Implementations§
Source§impl Clone for ScheduleEvent
impl Clone for ScheduleEvent
Source§fn clone(&self) -> ScheduleEvent
fn clone(&self) -> ScheduleEvent
Returns a copy 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 ScheduleEvent
impl Debug for ScheduleEvent
Source§impl<'de> Deserialize<'de> for ScheduleEvent
impl<'de> Deserialize<'de> for ScheduleEvent
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 From<ScheduleEvent> for TimelyEvent
impl From<ScheduleEvent> for TimelyEvent
Source§fn from(v: ScheduleEvent) -> TimelyEvent
fn from(v: ScheduleEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for ScheduleEvent
impl Hash for ScheduleEvent
Source§impl Ord for ScheduleEvent
impl Ord for ScheduleEvent
Source§fn cmp(&self, other: &ScheduleEvent) -> Ordering
fn cmp(&self, other: &ScheduleEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScheduleEvent
impl PartialEq for ScheduleEvent
Source§impl PartialOrd for ScheduleEvent
impl PartialOrd for ScheduleEvent
Source§impl Serialize for ScheduleEvent
impl Serialize for ScheduleEvent
impl Eq for ScheduleEvent
impl StructuralPartialEq for ScheduleEvent
Auto Trait Implementations§
impl Freeze for ScheduleEvent
impl RefUnwindSafe for ScheduleEvent
impl Send for ScheduleEvent
impl Sync for ScheduleEvent
impl Unpin for ScheduleEvent
impl UnwindSafe for ScheduleEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)