pub enum JobControlAction {
StartJob {
job: String,
},
StopJob,
}
Expand description
Actions for controlling the job execution.
Variants§
Trait Implementations§
Source§impl Clone for JobControlAction
impl Clone for JobControlAction
Source§fn clone(&self) -> JobControlAction
fn clone(&self) -> JobControlAction
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 JobControlAction
impl Debug for JobControlAction
Source§impl Default for JobControlAction
impl Default for JobControlAction
Source§impl<'de> Deserialize<'de> for JobControlAction
impl<'de> Deserialize<'de> for JobControlAction
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 JobControlAction
impl PartialEq for JobControlAction
Source§impl Serialize for JobControlAction
impl Serialize for JobControlAction
impl Eq for JobControlAction
impl MustNotBeSkipped for JobControlAction
impl StructuralPartialEq for JobControlAction
Auto Trait Implementations§
impl Freeze for JobControlAction
impl RefUnwindSafe for JobControlAction
impl Send for JobControlAction
impl Sync for JobControlAction
impl Unpin for JobControlAction
impl UnwindSafe for JobControlAction
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> MayBeSkipped for Twhere
T: MustNotBeSkipped,
impl<T> MayBeSkipped for Twhere
T: MustNotBeSkipped,
Source§fn may_be_skipped(&self) -> bool
fn may_be_skipped(&self) -> bool
Tell whether the content may be skipped.