pub struct ListServices { /* private fields */ }Expand description
query for Icinga objects of this type
Implementations§
Source§impl ListServices
impl ListServices
Sourcepub fn builder() -> ListServicesBuilder
pub fn builder() -> ListServicesBuilder
create a new builder for this endpoint
this is usually the first step to calling this REST API endpoint
Trait Implementations§
Source§impl Clone for ListServices
impl Clone for ListServices
Source§fn clone(&self) -> ListServices
fn clone(&self) -> ListServices
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListServices
impl Debug for ListServices
Source§impl RestApiEndpoint for ListServices
impl RestApiEndpoint for ListServices
Source§type RequestBody = IcingaFilter
type RequestBody = IcingaFilter
the type of the request body
Source§fn url(&self, base_url: &Url) -> Result<Url, Error>
fn url(&self, base_url: &Url) -> Result<Url, Error>
returns the URL to use for the request based on the base URL passed in
as a parameter Read more
Source§fn request_body(&self) -> Result<Option<Cow<'_, Self::RequestBody>>, Error>
fn request_body(&self) -> Result<Option<Cow<'_, Self::RequestBody>>, Error>
the request body which must be a JSON serializable type Read more
impl RestApiResponse<ListServices> for ResultsWrapper<QueryResultObject<IcingaService>>
impl RestApiResponse<ListServices> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListServices> for ResultsWrapper<QueryResultObjectWithJoins<IcingaService, IcingaServiceJoins>>
impl RestApiResponse<ListServices> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaServiceJoins>>
impl RestApiResponse<ListServices> for ResultsWrapper<QueryResultObjectWithJoins<IcingaService, BTreeMap<String, Value>>>
impl RestApiResponse<ListServices> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
Auto Trait Implementations§
impl Freeze for ListServices
impl RefUnwindSafe for ListServices
impl Send for ListServices
impl Sync for ListServices
impl Unpin for ListServices
impl UnsafeUnpin for ListServices
impl UnwindSafe for ListServices
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