[][src]Struct jenkins_api::view::ListView

pub struct ListView {
    pub description: Option<String>,
    pub name: String,
    pub url: String,
    pub jobs: Vec<ShortJob>,
    pub property: Vec<CommonProperty>,
}

A Jenkins View with a list of ShortJob

Fields

description: Option<String>

Description of the view

name: String

Name of the view

url: String

URL for the view

jobs: Vec<ShortJob>

List of jobs in the view

property: Vec<CommonProperty>

Properties of the view

Implementations

impl ListView[src]

pub fn add_job<'a, J>(
    &self,
    jenkins_client: &Jenkins,
    job_name: J
) -> Result<()> where
    J: Into<JobName<'a>>, 
[src]

Add the job job_name to this view

pub fn remove_job<'a, J>(
    &self,
    jenkins_client: &Jenkins,
    job_name: J
) -> Result<()> where
    J: Into<JobName<'a>>, 
[src]

Remove the job job_name from this view

Trait Implementations

impl Class for ListView[src]

impl Debug for ListView[src]

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

impl View for ListView[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.