Enum icinga2_api::types::join_types::IcingaJoins
source · [−]pub enum IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,{
NoJoins,
SpecificJoins {
full: Vec<JT>,
partial: BTreeMap<JT, Vec<&'a str>>,
},
AllJoins,
}
Expand description
joins
Variants
NoJoins
do not include any joins
SpecificJoins
Fields
full: Vec<JT>
include the full objects for these joins
include specific joins
AllJoins
include full objects for all possible joins
Trait Implementations
sourceimpl<'a, JT: Clone> Clone for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT: Clone> Clone for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
sourcefn clone(&self) -> IcingaJoins<'a, JT>
fn clone(&self) -> IcingaJoins<'a, JT>
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 moresourceimpl<'a, JT: Debug> Debug for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT: Debug> Debug for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
sourceimpl<'a, JT: Hash> Hash for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT: Hash> Hash for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
sourceimpl<'a, JT: Ord> Ord for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT: Ord> Ord for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
sourcefn cmp(&self, other: &IcingaJoins<'a, JT>) -> Ordering
fn cmp(&self, other: &IcingaJoins<'a, JT>) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<'a, JT: PartialEq> PartialEq<IcingaJoins<'a, JT>> for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT: PartialEq> PartialEq<IcingaJoins<'a, JT>> for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
sourcefn eq(&self, other: &IcingaJoins<'a, JT>) -> bool
fn eq(&self, other: &IcingaJoins<'a, JT>) -> bool
sourceimpl<'a, JT: PartialOrd> PartialOrd<IcingaJoins<'a, JT>> for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT: PartialOrd> PartialOrd<IcingaJoins<'a, JT>> for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
sourcefn partial_cmp(&self, other: &IcingaJoins<'a, JT>) -> Option<Ordering>
fn partial_cmp(&self, other: &IcingaJoins<'a, JT>) -> Option<Ordering>
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 moreimpl<'a, JT: Eq> Eq for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT> StructuralEq for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
impl<'a, JT> StructuralPartialEq for IcingaJoins<'a, JT>where
JT: IcingaJoinType + Ord + Display,
Auto Trait Implementations
impl<'a, JT> RefUnwindSafe for IcingaJoins<'a, JT>where
JT: RefUnwindSafe,
impl<'a, JT> Send for IcingaJoins<'a, JT>where
JT: Send,
impl<'a, JT> Sync for IcingaJoins<'a, JT>where
JT: Sync,
impl<'a, JT> Unpin for IcingaJoins<'a, JT>where
JT: Unpin,
impl<'a, JT> UnwindSafe for IcingaJoins<'a, JT>where
JT: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
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.