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: StringName of the computer
description: StringDescription of the computer
icon: StringIcon for the computer
icon_class_name: StringIcon for the computer
idle: boolIs the computer idle
jnlp_agent: boolIs the computer connected to master through JNLP
launch_supported: boolCan the computer launch a Job
manual_launch_allowed: boolCan a user launch a Job on this computer
num_executors: u32Numbero of executors
offline: boolIs the computer offline
offline_cause: Option<CommonMonitorData>Why is the computer offline
offline_cause_reason: Option<String>Why is the computer offline
temporarily_offline: boolIs 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§
Source§impl Class for MasterComputer
impl Class for MasterComputer
Source§fn with_class() -> &'static str
fn with_class() -> &'static str
Should reply the _class provided by Jenkins for a type
Source§impl Debug for MasterComputer
impl Debug for MasterComputer
Source§impl<'de> Deserialize<'de> for MasterComputer
impl<'de> Deserialize<'de> for MasterComputer
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 Serialize for MasterComputer
impl Serialize for MasterComputer
impl Computer for MasterComputer
Auto Trait Implementations§
impl Freeze for MasterComputer
impl RefUnwindSafe for MasterComputer
impl Send for MasterComputer
impl Sync for MasterComputer
impl Unpin for MasterComputer
impl UnwindSafe for MasterComputer
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