Struct icinga2_api::types::query::ResultsWrapper
source · [−]pub struct ResultsWrapper<T> {
pub results: Vec<T>,
}
Expand description
wrapper for Json results
Fields
results: Vec<T>
the internal field in the Icinga2 object containing all an array of the actual results
Trait Implementations
sourceimpl<T: Clone> Clone for ResultsWrapper<T>
impl<T: Clone> Clone for ResultsWrapper<T>
sourcefn clone(&self) -> ResultsWrapper<T>
fn clone(&self) -> ResultsWrapper<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for ResultsWrapper<T>
impl<T: Debug> Debug for ResultsWrapper<T>
sourceimpl<'de, T> Deserialize<'de> for ResultsWrapper<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ResultsWrapper<T> where
T: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T: Hash> Hash for ResultsWrapper<T>
impl<T: Hash> Hash for ResultsWrapper<T>
sourceimpl<T: Ord> Ord for ResultsWrapper<T>
impl<T: Ord> Ord for ResultsWrapper<T>
sourceimpl<T: PartialEq> PartialEq<ResultsWrapper<T>> for ResultsWrapper<T>
impl<T: PartialEq> PartialEq<ResultsWrapper<T>> for ResultsWrapper<T>
sourcefn eq(&self, other: &ResultsWrapper<T>) -> bool
fn eq(&self, other: &ResultsWrapper<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ResultsWrapper<T>) -> bool
fn ne(&self, other: &ResultsWrapper<T>) -> bool
This method tests for !=
.
sourceimpl<T: PartialOrd> PartialOrd<ResultsWrapper<T>> for ResultsWrapper<T>
impl<T: PartialOrd> PartialOrd<ResultsWrapper<T>> for ResultsWrapper<T>
sourcefn partial_cmp(&self, other: &ResultsWrapper<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &ResultsWrapper<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<T> Serialize for ResultsWrapper<T> where
T: Serialize,
impl<T> Serialize for ResultsWrapper<T> where
T: Serialize,
impl<T: Eq> Eq for ResultsWrapper<T>
impl RestApiResponse<AcknowledgeProblem> for ResultsWrapper<StatusResponse>
impl RestApiResponse<AddComment> for ResultsWrapper<StatusResponse>
impl RestApiResponse<DelayNotification> for ResultsWrapper<StatusResponse>
impl RestApiResponse<ExecuteCommand> for ResultsWrapper<ExecuteCommandResponse>
impl RestApiResponse<GenerateTicket> for ResultsWrapper<GenerateTicketResponse>
impl RestApiResponse<ListApiUsers> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListApiUsers> for ResultsWrapper<QueryResultObject<IcingaApiUser>>
impl RestApiResponse<ListCheckCommands> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListCheckCommands> for ResultsWrapper<QueryResultObject<IcingaCheckCommand>>
impl RestApiResponse<ListComments> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListComments> for ResultsWrapper<QueryResultObject<IcingaComment>>
impl<'a> RestApiResponse<ListDependencies<'a>> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListDependencies<'a>> for ResultsWrapper<QueryResultObject<IcingaDependency>>
impl<'a> RestApiResponse<ListDependencies<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListDependencies<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaDependencyJoins>>
impl<'a> RestApiResponse<ListDependencies<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaDependency, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListDependencies<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaDependency, IcingaDependencyJoins>>
impl RestApiResponse<ListDowntimes> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListDowntimes> for ResultsWrapper<QueryResultObject<IcingaDowntime>>
impl RestApiResponse<ListEndpoints> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListEndpoints> for ResultsWrapper<QueryResultObject<IcingaEndpoint>>
impl RestApiResponse<ListEventCommands> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListEventCommands> for ResultsWrapper<QueryResultObject<IcingaEventCommand>>
impl RestApiResponse<ListHostGroups> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListHostGroups> for ResultsWrapper<QueryResultObject<IcingaHostGroup>>
impl<'a> RestApiResponse<ListHosts<'a>> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListHosts<'a>> for ResultsWrapper<QueryResultObject<IcingaHost>>
impl<'a> RestApiResponse<ListHosts<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListHosts<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaHostJoins>>
impl<'a> RestApiResponse<ListHosts<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaHost, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListHosts<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaHost, IcingaHostJoins>>
impl RestApiResponse<ListNotificationCommands> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListNotificationCommands> for ResultsWrapper<QueryResultObject<IcingaNotificationCommand>>
impl<'a> RestApiResponse<ListNotifications<'a>> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListNotifications<'a>> for ResultsWrapper<QueryResultObject<IcingaNotification>>
impl<'a> RestApiResponse<ListNotifications<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListNotifications<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaNotificationJoins>>
impl<'a> RestApiResponse<ListNotifications<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaNotification, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListNotifications<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaNotification, IcingaNotificationJoins>>
impl RestApiResponse<ListScheduledDowntimes> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListScheduledDowntimes> for ResultsWrapper<QueryResultObject<IcingaScheduledDowntime>>
impl RestApiResponse<ListServiceGroups> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListServiceGroups> for ResultsWrapper<QueryResultObject<IcingaServiceGroup>>
impl<'a> RestApiResponse<ListServices<'a>> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListServices<'a>> for ResultsWrapper<QueryResultObject<IcingaService>>
impl<'a> RestApiResponse<ListServices<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListServices<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaServiceJoins>>
impl<'a> RestApiResponse<ListServices<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaService, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListServices<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaService, IcingaServiceJoins>>
impl RestApiResponse<ListTimePeriods> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListTimePeriods> for ResultsWrapper<QueryResultObject<IcingaTimePeriod>>
impl RestApiResponse<ListUserGroups> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl RestApiResponse<ListUserGroups> for ResultsWrapper<QueryResultObject<IcingaUserGroup>>
impl<'a> RestApiResponse<ListUsers<'a>> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListUsers<'a>> for ResultsWrapper<QueryResultObject<IcingaUser>>
impl<'a> RestApiResponse<ListUsers<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListUsers<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaUserJoins>>
impl<'a> RestApiResponse<ListUsers<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaUser, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListUsers<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaUser, IcingaUserJoins>>
impl<'a> RestApiResponse<ListZones<'a>> for ResultsWrapper<QueryResultObject<BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListZones<'a>> for ResultsWrapper<QueryResultObject<IcingaZone>>
impl<'a> RestApiResponse<ListZones<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListZones<'a>> for ResultsWrapper<QueryResultObjectWithJoins<BTreeMap<String, Value>, IcingaZoneJoins>>
impl<'a> RestApiResponse<ListZones<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaZone, BTreeMap<String, Value>>>
impl<'a> RestApiResponse<ListZones<'a>> for ResultsWrapper<QueryResultObjectWithJoins<IcingaZone, IcingaZoneJoins>>
impl RestApiResponse<ProcessCheckResult> for ResultsWrapper<StatusResponse>
impl RestApiResponse<RemoveAcknowledgement> for ResultsWrapper<StatusResponse>
impl RestApiResponse<RemoveComment> for ResultsWrapper<StatusResponse>
impl RestApiResponse<RemoveDowntime> for ResultsWrapper<StatusResponse>
impl RestApiResponse<RescheduleCheck> for ResultsWrapper<StatusResponse>
impl RestApiResponse<RestartProcess> for ResultsWrapper<StatusResponse>
impl RestApiResponse<ScheduleDowntime> for ResultsWrapper<StatusResponse>
impl RestApiResponse<SendCustomNotification> for ResultsWrapper<StatusResponse>
impl RestApiResponse<ShutdownProcess> for ResultsWrapper<StatusResponse>
impl<T> StructuralEq for ResultsWrapper<T>
impl<T> StructuralPartialEq for ResultsWrapper<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ResultsWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for ResultsWrapper<T> where
T: Send,
impl<T> Sync for ResultsWrapper<T> where
T: Sync,
impl<T> Unpin for ResultsWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for ResultsWrapper<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more