pub struct ShortView {
pub name: String,
pub url: String,
/* private fields */
}
Expand description
Short View that is used in lists and links from other structs
Fields§
§name: String
Name of the view
url: String
URL for the view
Implementations§
Source§impl ShortView
impl ShortView
Sourcepub fn get_full_view(&self, jenkins_client: &Jenkins) -> Result<CommonView>
pub fn get_full_view(&self, jenkins_client: &Jenkins) -> Result<CommonView>
Get the full details of a View
matching the ShortView
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShortView
impl<'de> Deserialize<'de> for ShortView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ShortView
impl RefUnwindSafe for ShortView
impl Send for ShortView
impl Sync for ShortView
impl Unpin for ShortView
impl UnwindSafe for ShortView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more