[][src]Enum jenkins_api::client::Path

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,
    },
}

Path to an object in Jenkins

Variants

Home

Path to the home

View

Path to a view

Fields of View

name: &'a str

The view name

Job

Path to a job

Fields of Job

name: &'a str

The job name

configuration: Option<&'a str>

The job configuration

Build

Path to a job build

Fields of Build

job_name: &'a str

The job name

number: BuildNumber

The build number

configuration: Option<&'a str>

The build configuration

Queue

Path to the Jenkins queue

QueueItem

Path to an item in the queue

Fields of QueueItem

id: i32

The item id

MavenArtifactRecord

Path to a build's maven artifacts

Fields of MavenArtifactRecord

job_name: &'a str

The job name

number: BuildNumber

The build number

configuration: Option<&'a str>

The build configuration

Computers

Path to the computers linked to Jenkins

Computer

Path to a computer

Fields of Computer

name: &'a str

The computer name

Raw

Unknown path

Fields of Raw

path: &'a str

The path itself

Trait Implementations

impl<'a> Debug for Path<'a>[src]

impl<'a> PartialEq<Path<'a>> for Path<'a>[src]

impl<'a> StructuralPartialEq for Path<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Path<'a>

impl<'a> Send for Path<'a>

impl<'a> Sync for Path<'a>

impl<'a> Unpin for Path<'a>

impl<'a> UnwindSafe for Path<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.