pub struct SnapshotEngineControl {
pub paused: bool,
pub paused_at: Option<u64>,
pub resumed_at: Option<u64>,
}Expand description
Snapshot representation of engine control projection.
Fields§
§paused: boolWhether scheduling and dispatch are paused.
paused_at: Option<u64>Timestamp of most recent pause event, if any.
resumed_at: Option<u64>Timestamp of most recent resume event, if any.
Trait Implementations§
Source§impl Clone for SnapshotEngineControl
impl Clone for SnapshotEngineControl
Source§fn clone(&self) -> SnapshotEngineControl
fn clone(&self) -> SnapshotEngineControl
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 SnapshotEngineControl
impl Debug for SnapshotEngineControl
Source§impl Default for SnapshotEngineControl
impl Default for SnapshotEngineControl
Source§fn default() -> SnapshotEngineControl
fn default() -> SnapshotEngineControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotEngineControl
impl<'de> Deserialize<'de> for SnapshotEngineControl
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 SnapshotEngineControl
impl PartialEq for SnapshotEngineControl
Source§impl Serialize for SnapshotEngineControl
impl Serialize for SnapshotEngineControl
impl Eq for SnapshotEngineControl
impl StructuralPartialEq for SnapshotEngineControl
Auto Trait Implementations§
impl Freeze for SnapshotEngineControl
impl RefUnwindSafe for SnapshotEngineControl
impl Send for SnapshotEngineControl
impl Sync for SnapshotEngineControl
impl Unpin for SnapshotEngineControl
impl UnsafeUnpin for SnapshotEngineControl
impl UnwindSafe for SnapshotEngineControl
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