pub struct IcingaMetadata {
pub used_by: Option<Vec<IcingaObject>>,
pub location: Option<IcingaSourceLocation>,
}
Expand description
metadata
Fields§
§used_by: Option<Vec<IcingaObject>>
which other icinga objects use this object
location: Option<IcingaSourceLocation>
where in the config file this object is defined
Trait Implementations§
Source§impl Clone for IcingaMetadata
impl Clone for IcingaMetadata
Source§fn clone(&self) -> IcingaMetadata
fn clone(&self) -> IcingaMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IcingaMetadata
impl Debug for IcingaMetadata
Source§impl<'de> Deserialize<'de> for IcingaMetadata
impl<'de> Deserialize<'de> for IcingaMetadata
Source§fn 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
Source§impl Hash for IcingaMetadata
impl Hash for IcingaMetadata
Source§impl Ord for IcingaMetadata
impl Ord for IcingaMetadata
Source§fn cmp(&self, other: &IcingaMetadata) -> Ordering
fn cmp(&self, other: &IcingaMetadata) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IcingaMetadata
impl PartialEq for IcingaMetadata
Source§impl PartialOrd for IcingaMetadata
impl PartialOrd for IcingaMetadata
Source§impl Serialize for IcingaMetadata
impl Serialize for IcingaMetadata
impl Eq for IcingaMetadata
impl StructuralPartialEq for IcingaMetadata
Auto Trait Implementations§
impl Freeze for IcingaMetadata
impl RefUnwindSafe for IcingaMetadata
impl Send for IcingaMetadata
impl Sync for IcingaMetadata
impl Unpin for IcingaMetadata
impl UnwindSafe for IcingaMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.