pub struct MasterComputer {
Show 17 fields pub display_name: String, pub description: String, pub icon: String, pub icon_class_name: String, pub idle: bool, pub jnlp_agent: bool, pub launch_supported: bool, pub manual_launch_allowed: bool, pub num_executors: u32, pub offline: bool, pub offline_cause: Option<CommonMonitorData>, pub offline_cause_reason: Option<String>, pub temporarily_offline: bool, pub monitor_data: HashMap<String, Data>, pub executors: Vec<Executor>, pub one_off_executors: Vec<Executor>, pub assigned_labels: Vec<AssignedLabel>,
}
Expand description

The master computer

Fields§

§display_name: String

Name of the computer

§description: String

Description of the computer

§icon: String

Icon for the computer

§icon_class_name: String

Icon for the computer

§idle: bool

Is the computer idle

§jnlp_agent: bool

Is the computer connected to master through JNLP

§launch_supported: bool

Can the computer launch a Job

§manual_launch_allowed: bool

Can a user launch a Job on this computer

§num_executors: u32

Numbero of executors

§offline: bool

Is the computer offline

§offline_cause: Option<CommonMonitorData>

Why is the computer offline

§offline_cause_reason: Option<String>

Why is the computer offline

§temporarily_offline: bool

Is the computer temporarily offline

§monitor_data: HashMap<String, Data>

Monitor data provided by the computer

§executors: Vec<Executor>

Executors of the computer

§one_off_executors: Vec<Executor>

One off executors of the computer

§assigned_labels: Vec<AssignedLabel>

Labels assigned to the computer

Trait Implementations§

Should reply the _class provided by Jenkins for a type
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.