pub struct ClusterNotificationsGetMatcherResponseData {
pub comment: Option<String>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub invert_match: Option<PveBoolean>,
pub match_calendar: Option<Vec<String>>,
pub match_field: Option<Vec<String>>,
pub match_severity: Option<Vec<String>>,
pub mode: Option<PveModeModeEnum>,
pub name: String,
pub target: Option<Vec<String>>,
}Fields§
§comment: Option<String>Comment
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
disable: Option<PveBoolean>Disable this matcher
invert_match: Option<PveBoolean>Invert match of the whole matcher
match_calendar: Option<Vec<String>>Match notification timestamp
match_field: Option<Vec<String>>Metadata fields to match (regex or exact match). Must be in the form (regex|exact):
match_severity: Option<Vec<String>>Notification severities to match
mode: Option<PveModeModeEnum>Choose between ‘all’ and ‘any’ for when multiple properties are specified
name: StringName of the matcher.
target: Option<Vec<String>>Targets to notify on match
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsGetMatcherResponseData
impl Clone for ClusterNotificationsGetMatcherResponseData
Source§fn clone(&self) -> ClusterNotificationsGetMatcherResponseData
fn clone(&self) -> ClusterNotificationsGetMatcherResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClusterNotificationsGetMatcherResponseData
impl Default for ClusterNotificationsGetMatcherResponseData
Source§fn default() -> ClusterNotificationsGetMatcherResponseData
fn default() -> ClusterNotificationsGetMatcherResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsGetMatcherResponseData
impl<'de> Deserialize<'de> for ClusterNotificationsGetMatcherResponseData
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 ClusterNotificationsGetMatcherResponseData
impl PartialEq for ClusterNotificationsGetMatcherResponseData
Source§fn eq(&self, other: &ClusterNotificationsGetMatcherResponseData) -> bool
fn eq(&self, other: &ClusterNotificationsGetMatcherResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsGetMatcherResponseData
Auto Trait Implementations§
impl Freeze for ClusterNotificationsGetMatcherResponseData
impl RefUnwindSafe for ClusterNotificationsGetMatcherResponseData
impl Send for ClusterNotificationsGetMatcherResponseData
impl Sync for ClusterNotificationsGetMatcherResponseData
impl Unpin for ClusterNotificationsGetMatcherResponseData
impl UnsafeUnpin for ClusterNotificationsGetMatcherResponseData
impl UnwindSafe for ClusterNotificationsGetMatcherResponseData
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