Struct icinga2_api::api::query::monitoring_objects::host::ListHostsBuilder
source · pub struct ListHostsBuilder<'a> { /* private fields */ }
Expand description
Builder for ListHosts
.
Implementations§
source§impl<'a> ListHostsBuilder<'a>
impl<'a> ListHostsBuilder<'a>
sourcepub fn joins<VALUE: Into<IcingaJoins<'a, IcingaHostJoinTypes>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn joins<VALUE: Into<IcingaJoins<'a, IcingaHostJoinTypes>>>( &mut self, value: VALUE, ) -> &mut Self
the joins (related objects) to return along with each result
sourcepub fn meta<VALUE: Into<Vec<IcingaMetadataType>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn meta<VALUE: Into<Vec<IcingaMetadataType>>>( &mut self, value: VALUE, ) -> &mut Self
the metadata to return along with each result
sourcepub fn filter<VALUE: Into<IcingaFilter>>(&mut self, value: VALUE) -> &mut Self
pub fn filter<VALUE: Into<IcingaFilter>>(&mut self, value: VALUE) -> &mut Self
filter the results
Trait Implementations§
source§impl<'a> Clone for ListHostsBuilder<'a>
impl<'a> Clone for ListHostsBuilder<'a>
source§fn clone(&self) -> ListHostsBuilder<'a>
fn clone(&self) -> ListHostsBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ListHostsBuilder<'a>
impl<'a> Debug for ListHostsBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListHostsBuilder<'a>
impl<'a> RefUnwindSafe for ListHostsBuilder<'a>
impl<'a> Send for ListHostsBuilder<'a>
impl<'a> Sync for ListHostsBuilder<'a>
impl<'a> Unpin for ListHostsBuilder<'a>
impl<'a> UnwindSafe for ListHostsBuilder<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)