pub struct ListHosts { /* private fields */ }Expand description
query for Icinga objects of this type
Implementations§
Trait Implementations§
Source§impl RestApiEndpoint for ListHosts
impl RestApiEndpoint for ListHosts
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<ListHosts> for ResultsWrapper<QueryResultObject<IcingaHost>>
impl RestApiResponse<ListHosts> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListHosts> for ResultsWrapper<QueryResultObjectWithJoins<IcingaHost, IcingaHostJoins>>
impl RestApiResponse<ListHosts> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaHostJoins>>
impl RestApiResponse<ListHosts> for ResultsWrapper<QueryResultObjectWithJoins<IcingaHost, BTreeMap<String, Value>>>
impl RestApiResponse<ListHosts> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
Auto Trait Implementations§
impl Freeze for ListHosts
impl RefUnwindSafe for ListHosts
impl Send for ListHosts
impl Sync for ListHosts
impl Unpin for ListHosts
impl UnsafeUnpin for ListHosts
impl UnwindSafe for ListHosts
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