Struct jenkins_api::view::ListView [−][src]
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
Methods
impl ListView
[src]
impl ListView
pub fn add_job<'a, J>(
&self,
jenkins_client: &Jenkins,
job_name: J
) -> Result<(), Error> where
J: Into<JobName<'a>>,
[src]
pub fn add_job<'a, J>(
&self,
jenkins_client: &Jenkins,
job_name: J
) -> Result<(), Error> where
J: Into<JobName<'a>>,
Add the job job_name
to this view
pub fn remove_job<'a, J>(
&self,
jenkins_client: &Jenkins,
job_name: J
) -> Result<(), Error> where
J: Into<JobName<'a>>,
[src]
pub fn remove_job<'a, J>(
&self,
jenkins_client: &Jenkins,
job_name: J
) -> Result<(), Error> where
J: Into<JobName<'a>>,
Remove the job job_name
from this view
Trait Implementations
impl Debug for ListView
[src]
impl Debug for ListView
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Class for ListView
[src]
impl Class for ListView
fn with_class() -> &'static str
[src]
fn with_class() -> &'static str
Should reply the _class provided by Jenkins for a type
impl View for ListView
[src]
impl View for ListView