[−][src]Struct jenkins_api::client::TreeBuilder
Helper to build a TreeQueryParam
jenkins_api::client::TreeBuilder::object("builds") .with_subfield("url") .with_subfield("result") .with_subfield( jenkins_api::client::TreeBuilder::object("actions").with_subfield("causes"), ) .build();
Implementations
impl TreeBuilder
[src]
pub fn new() -> Self
[src]
Build a new empty TreeBuilder
pub fn with_field<T: Into<TreeQueryParam>>(self, subfield: T) -> Self
[src]
Add a field to the TreeQueryParam
pub fn object(name: &str) -> Self
[src]
Create a parent TreeQueryParam
pub fn with_subfield<T: Into<TreeQueryParam>>(self, subfield: T) -> Self
[src]
Add a subfield to the TreeQueryParam
pub fn build(self) -> TreeQueryParam
[src]
Build the TreeQueryParam
Trait Implementations
impl Debug for TreeBuilder
[src]
impl Default for TreeBuilder
[src]
impl Into<TreeQueryParam> for TreeBuilder
[src]
fn into(self) -> TreeQueryParam
[src]
Auto Trait Implementations
impl RefUnwindSafe for TreeBuilder
impl Send for TreeBuilder
impl Sync for TreeBuilder
impl Unpin for TreeBuilder
impl UnwindSafe for TreeBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,