Struct jenkins_api::home::Home

source ·
pub struct Home {
    pub mode: Mode,
    pub node_description: String,
    pub node_name: String,
    pub num_executors: u32,
    pub description: Option<String>,
    pub jobs: Vec<ShortJob>,
    pub quieting_down: bool,
    pub slave_agent_port: u32,
    pub use_crumbs: bool,
    pub use_security: bool,
    pub views: Vec<ShortView>,
}
Expand description

Index of Jenkins, with details about the master, a list of Job and a list of View

Fields§

§mode: Mode

Mode of the node for job selections

§node_description: String

Description of the node

§node_name: String

Name of the node

§num_executors: u32

Number of executors of the node

§description: Option<String>

Description of the master

§jobs: Vec<ShortJob>

List of jobs

§quieting_down: bool

Is Jenkins preparing to restart

§slave_agent_port: u32

HTTP port to the slave agent

§use_crumbs: bool

Does this instance use crumbs for CSRF

§use_security: bool

False if this instance is either UNSECURED or NO_AUTHENTICATION

§views: Vec<ShortView>

List of views

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. 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.