Enum jenkins_api::View [] [src]

pub enum View {
    ListView {
        description: Option<String>,
        name: String,
        url: String,
        jobs: Vec<ShortJob>,
        property: Vec<Property>,
    },
    Unknown {
        class: Option<String>,
    },
}

A Jenkins View with a list of ShortJob

Variants

A view listing jobs

Fields of ListView

Description of the view

Name of the view

URL for the view

List of jobs in the view

Properties of the view

Default case used when none other matched

Fields of Unknown

_class provided by Jenkins

Methods

impl View
[src]

[src]

Get the name of the view

[src]

Get the jobs from the view

[src]

Add the job job_name to this view

[src]

Remove the job job_name from this view

Trait Implementations

impl Debug for View
[src]

[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for View
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for View

impl Sync for View