[][src]Struct expjobserver::protocol::AddJobRequest

pub struct AddJobRequest {
    pub class: String,
    pub cmd: String,
    pub repeat_on_fail: bool,
    pub timeout: u64,
    pub cp_resultsopt: Option<CpResultsopt>,
}

Add a job to be run on the given class of machine.

Fields

class: String

The class of machine allowed to run this job.

cmd: String

The command of the job.

The command may use any existing variables known to the server.

repeat_on_fail: bool

Whether to repeat the task on failure.

timeout: u64

The number of minutes of the timeout, or 0 if no timeout (let the job run however long it does).

cp_resultsopt: Option<CpResultsopt>

The location to copy results, if any.

Trait Implementations

impl Clone for AddJobRequest[src]

impl Debug for AddJobRequest[src]

impl Default for AddJobRequest[src]

impl Message for AddJobRequest[src]

impl PartialEq<AddJobRequest> for AddJobRequest[src]

impl StructuralPartialEq for AddJobRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any