[][src]Struct jenkins_api::view::CommonView

pub struct CommonView {
    pub class: Option<String>,
    pub description: Option<String>,
    pub name: String,
    pub url: String,
    pub jobs: Vec<ShortJob>,
    pub property: Vec<CommonProperty>,
    // some fields omitted
}

A Jenkins View with a list of ShortJob

Fields

class: Option<String>

_class provided by Jenkins

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 CommonView[src]

pub fn as_variant<T: Class + View>(&self) -> Result<T, Error> where
    T: Deserialize<'de>, 
[src]

Read the object as one of it's specialization implementing $trait

Trait Implementations

impl Clone for CommonView[src]

impl Debug for CommonView[src]

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

impl Serialize for CommonView[src]

impl View for CommonView[src]

Auto Trait Implementations

impl RefUnwindSafe for CommonView

impl Send for CommonView

impl Sync for CommonView

impl Unpin for CommonView

impl UnwindSafe for CommonView

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.