[−][src]Struct jenkins_api::nodes::computer::CommonComputer
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
assigned_labels: Vec<AssignedLabel>
Labels assigned to the computer
class: Option<String>
_class provided by Jenkins
Implementations
impl CommonComputer
[src]
pub fn as_variant<T: Class + Computer>(&self) -> Result<T, Error> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
Read the object as one of it's specialization implementing $trait
Trait Implementations
impl Clone for CommonComputer
[src]
fn clone(&self) -> CommonComputer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Computer for CommonComputer
[src]
impl Debug for CommonComputer
[src]
impl<'de> Deserialize<'de> for CommonComputer
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CommonComputer
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommonComputer
impl Send for CommonComputer
impl Sync for CommonComputer
impl Unpin for CommonComputer
impl UnwindSafe for CommonComputer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,