pub struct TreeBuilder { /* private fields */ }
Expand description
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§
Source§impl TreeBuilder
impl TreeBuilder
Sourcepub fn with_field<T: Into<TreeQueryParam>>(self, subfield: T) -> Self
pub fn with_field<T: Into<TreeQueryParam>>(self, subfield: T) -> Self
Add a field to the TreeQueryParam
Sourcepub fn with_subfield<T: Into<TreeQueryParam>>(self, subfield: T) -> Self
pub fn with_subfield<T: Into<TreeQueryParam>>(self, subfield: T) -> Self
Add a subfield to the TreeQueryParam
Sourcepub fn build(self) -> TreeQueryParam
pub fn build(self) -> TreeQueryParam
Build the TreeQueryParam
Trait Implementations§
Source§impl Debug for TreeBuilder
impl Debug for TreeBuilder
Source§impl Default for TreeBuilder
impl Default for TreeBuilder
Source§impl Into<TreeQueryParam> for TreeBuilder
impl Into<TreeQueryParam> for TreeBuilder
Source§fn into(self) -> TreeQueryParam
fn into(self) -> TreeQueryParam
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for TreeBuilder
impl RefUnwindSafe for TreeBuilder
impl Send for TreeBuilder
impl Sync for TreeBuilder
impl Unpin for TreeBuilder
impl UnwindSafe for TreeBuilder
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