pub struct ClusterNotificationsUpdateMatcherRequest {
pub comment: Option<String>,
pub delete: Option<Vec<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 target: Option<Vec<String>>,
}Fields§
§comment: Option<String>Comment
delete: Option<Vec<String>>A list of settings you want to delete.
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
target: Option<Vec<String>>Targets to notify on match
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsUpdateMatcherRequest
impl Clone for ClusterNotificationsUpdateMatcherRequest
Source§fn clone(&self) -> ClusterNotificationsUpdateMatcherRequest
fn clone(&self) -> ClusterNotificationsUpdateMatcherRequest
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 ClusterNotificationsUpdateMatcherRequest
impl Default for ClusterNotificationsUpdateMatcherRequest
Source§fn default() -> ClusterNotificationsUpdateMatcherRequest
fn default() -> ClusterNotificationsUpdateMatcherRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsUpdateMatcherRequest
impl<'de> Deserialize<'de> for ClusterNotificationsUpdateMatcherRequest
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 ClusterNotificationsUpdateMatcherRequest
impl PartialEq for ClusterNotificationsUpdateMatcherRequest
Source§fn eq(&self, other: &ClusterNotificationsUpdateMatcherRequest) -> bool
fn eq(&self, other: &ClusterNotificationsUpdateMatcherRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsUpdateMatcherRequest
Auto Trait Implementations§
impl Freeze for ClusterNotificationsUpdateMatcherRequest
impl RefUnwindSafe for ClusterNotificationsUpdateMatcherRequest
impl Send for ClusterNotificationsUpdateMatcherRequest
impl Sync for ClusterNotificationsUpdateMatcherRequest
impl Unpin for ClusterNotificationsUpdateMatcherRequest
impl UnsafeUnpin for ClusterNotificationsUpdateMatcherRequest
impl UnwindSafe for ClusterNotificationsUpdateMatcherRequest
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