pub enum JobActions {
On,
Off,
Unsupported,
}Expand description
Whether a daemon cancels and re-runs jobs, as GET /v1/status says.
Variants§
On
It does.
Off
[github] job_actions = false: both routes answer 403.
Unsupported
A daemon without the routes, before 0.2, or a state this client does not know: never read as on.
Implementations§
Source§impl JobActions
impl JobActions
Trait Implementations§
Source§impl Clone for JobActions
impl Clone for JobActions
impl Copy for JobActions
Source§impl Debug for JobActions
impl Debug for JobActions
Source§impl Default for JobActions
impl Default for JobActions
Source§impl<'de> Deserialize<'de> for JobActions
impl<'de> Deserialize<'de> for JobActions
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
impl Eq for JobActions
Source§impl PartialEq for JobActions
impl PartialEq for JobActions
Source§impl Serialize for JobActions
impl Serialize for JobActions
impl StructuralPartialEq for JobActions
Auto Trait Implementations§
impl Forget for JobActions
impl Freeze for JobActions
impl Move for JobActions
impl RefUnwindSafe for JobActions
impl Send for JobActions
impl Sync for JobActions
impl Unpin for JobActions
impl UnsafeUnpin for JobActions
impl UnwindSafe for JobActions
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.