QueryableObject

Trait QueryableObject 

Source
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§

Source

type ListEndpoint

the type of the endpoint for listing all objects of this type

Required Methods§

Source

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.

Implementors§

Source§

impl QueryableObject for IcingaApiUser

Source§

impl QueryableObject for IcingaCheckCommand

Source§

impl QueryableObject for IcingaDependency

Source§

impl QueryableObject for IcingaEndpoint

Source§

impl QueryableObject for IcingaEventCommand

Source§

impl QueryableObject for IcingaHost

Source§

impl QueryableObject for IcingaHostGroup

Source§

impl QueryableObject for IcingaNotification

Source§

impl QueryableObject for IcingaNotificationCommand

Source§

impl QueryableObject for IcingaScheduledDowntime

Source§

impl QueryableObject for IcingaService

Source§

impl QueryableObject for IcingaServiceGroup

Source§

impl QueryableObject for IcingaTimePeriod

Source§

impl QueryableObject for IcingaUser

Source§

impl QueryableObject for IcingaUserGroup

Source§

impl QueryableObject for IcingaZone

Source§

impl QueryableObject for IcingaComment

Source§

impl QueryableObject for IcingaDowntime