Trait icinga2_api::types::query::QueryableObject
source · [−]pub trait QueryableObject {
type ListEndpoint;
fn default_query_endpoint() -> Result<Self::ListEndpoint, Error>;
}
Expand description
represents a type of icinga object which can returned by a query
Required Associated Types
sourcetype ListEndpoint
type ListEndpoint
the type of the endpoint for listing all objects of this type
Required Methods
sourcefn default_query_endpoint() -> Result<Self::ListEndpoint, Error>
fn default_query_endpoint() -> Result<Self::ListEndpoint, Error>
returns the endpoint constructed by calling the builder’s build method without calling any of the builder methods first
Errors
this returns any errors the builder’s builder() call produces