pub struct IcingaEventCommand {
pub object_type: IcingaObjectType,
pub command: IcingaCommand,
}Expand description
an event command (e.g. in a join)
Fields§
§object_type: IcingaObjectTypetype of object
command: IcingaCommandshared fields in all command types
Trait Implementations§
Source§impl Clone for IcingaEventCommand
impl Clone for IcingaEventCommand
Source§fn clone(&self) -> IcingaEventCommand
fn clone(&self) -> IcingaEventCommand
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 CustomVarHolder for IcingaEventCommand
impl CustomVarHolder for IcingaEventCommand
Source§fn custom_var_value(&self, name: &str) -> Option<&Value>
fn custom_var_value(&self, name: &str) -> Option<&Value>
retrieve a reference to the value of the named custom variable if it
exists
Source§fn custom_var_deserialized<T>(&self, name: &str) -> Option<T>where
T: DeserializeOwned,
fn custom_var_deserialized<T>(&self, name: &str) -> Option<T>where
T: DeserializeOwned,
deserialize the Value into a user provided data type
Source§impl Debug for IcingaEventCommand
impl Debug for IcingaEventCommand
Source§impl<'de> Deserialize<'de> for IcingaEventCommand
impl<'de> Deserialize<'de> for IcingaEventCommand
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 PartialEq for IcingaEventCommand
impl PartialEq for IcingaEventCommand
Source§impl QueryableObject for IcingaEventCommand
impl QueryableObject for IcingaEventCommand
Source§type ListEndpoint = ListEventCommands
type ListEndpoint = ListEventCommands
the type of the endpoint for listing all objects of this type
Source§fn 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 Read more
Source§impl Serialize for IcingaEventCommand
impl Serialize for IcingaEventCommand
impl Eq for IcingaEventCommand
impl StructuralPartialEq for IcingaEventCommand
Auto Trait Implementations§
impl Freeze for IcingaEventCommand
impl RefUnwindSafe for IcingaEventCommand
impl Send for IcingaEventCommand
impl Sync for IcingaEventCommand
impl Unpin for IcingaEventCommand
impl UnwindSafe for IcingaEventCommand
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> 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.