pub trait QueryableObject {
type ListEndpoint;
// Required method
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.