Struct jenkins_api::nodes::computer::CommonComputer [−][src]
pub struct CommonComputer { 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 class: Option<String>, // some fields omitted }
A Jenkins 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
class: Option<String>
_class provided by Jenkins
Methods
impl CommonComputer
[src]
impl CommonComputer
pub fn as_variant<T: Class + Computer>(&self) -> Result<T, Error> where
T: Deserialize<'de>,
[src]
pub fn as_variant<T: Class + Computer>(&self) -> Result<T, Error> where
T: Deserialize<'de>,
Read the object as one of it's specialization implementing $trait
Trait Implementations
impl Debug for CommonComputer
[src]
impl Debug for CommonComputer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CommonComputer
[src]
impl Clone for CommonComputer
fn clone(&self) -> CommonComputer
[src]
fn clone(&self) -> CommonComputer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Computer for CommonComputer
[src]
impl Computer for CommonComputer
Auto Trait Implementations
impl Send for CommonComputer
impl Send for CommonComputer
impl Sync for CommonComputer
impl Sync for CommonComputer