Enum jenkins_api::client::Path

source ·
pub enum Path<'a> {
    Home,
    View {
        name: &'a str,
    },
    Job {
        name: &'a str,
        configuration: Option<&'a str>,
    },
    Build {
        job_name: &'a str,
        number: BuildNumber,
        configuration: Option<&'a str>,
    },
    Queue,
    QueueItem {
        id: i32,
    },
    MavenArtifactRecord {
        job_name: &'a str,
        number: BuildNumber,
        configuration: Option<&'a str>,
    },
    Computers,
    Computer {
        name: &'a str,
    },
    Raw {
        path: &'a str,
    },
}
Expand description

Path to an object in Jenkins

Variants§

§

Home

Path to the home

§

View

Fields

§name: &'a str

The view name

Path to a view

§

Job

Fields

§name: &'a str

The job name

§configuration: Option<&'a str>

The job configuration

Path to a job

§

Build

Fields

§job_name: &'a str

The job name

§number: BuildNumber

The build number

§configuration: Option<&'a str>

The build configuration

Path to a job build

§

Queue

Path to the Jenkins queue

§

QueueItem

Fields

§id: i32

The item id

Path to an item in the queue

§

MavenArtifactRecord

Fields

§job_name: &'a str

The job name

§number: BuildNumber

The build number

§configuration: Option<&'a str>

The build configuration

Path to a build’s maven artifacts

§

Computers

Path to the computers linked to Jenkins

§

Computer

Fields

§name: &'a str

The computer name

Path to a computer

§

Raw

Fields

§path: &'a str

The path itself

Unknown path

Trait Implementations§

Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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.