pub struct ConfigNotificationsUpdateMatchersRequest {
pub comment: Option<String>,
pub delete: Option<Vec<PbsConfigNotificationsInlineEnum5>>,
pub digest: Option<String>,
pub disable: Option<bool>,
pub invert_match: Option<bool>,
pub match_calendar: Option<Vec<String>>,
pub match_field: Option<Vec<String>>,
pub match_severity: Option<Vec<String>>,
pub mode: Option<PbsModeModeEnum>,
pub target: Option<Vec<String>>,
}Fields§
§comment: Option<String>Comment.
delete: Option<Vec<PbsConfigNotificationsInlineEnum5>>List of properties to delete.
digest: Option<String>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
disable: Option<bool>Disable this matcher.
invert_match: Option<bool>Invert match of the whole filter.
match_calendar: Option<Vec<String>>List of matched severity levels.
match_field: Option<Vec<String>>List of matched metadata fields.
match_severity: Option<Vec<String>>List of matched severity levels.
mode: Option<PbsModeModeEnum>The mode in which the results of matches are combined.
target: Option<Vec<String>>Targets to notify.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigNotificationsUpdateMatchersRequest
impl Clone for ConfigNotificationsUpdateMatchersRequest
Source§fn clone(&self) -> ConfigNotificationsUpdateMatchersRequest
fn clone(&self) -> ConfigNotificationsUpdateMatchersRequest
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 ConfigNotificationsUpdateMatchersRequest
impl Default for ConfigNotificationsUpdateMatchersRequest
Source§fn default() -> ConfigNotificationsUpdateMatchersRequest
fn default() -> ConfigNotificationsUpdateMatchersRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsUpdateMatchersRequest
impl<'de> Deserialize<'de> for ConfigNotificationsUpdateMatchersRequest
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 ConfigNotificationsUpdateMatchersRequest
impl PartialEq for ConfigNotificationsUpdateMatchersRequest
Source§fn eq(&self, other: &ConfigNotificationsUpdateMatchersRequest) -> bool
fn eq(&self, other: &ConfigNotificationsUpdateMatchersRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsUpdateMatchersRequest
Auto Trait Implementations§
impl Freeze for ConfigNotificationsUpdateMatchersRequest
impl RefUnwindSafe for ConfigNotificationsUpdateMatchersRequest
impl Send for ConfigNotificationsUpdateMatchersRequest
impl Sync for ConfigNotificationsUpdateMatchersRequest
impl Unpin for ConfigNotificationsUpdateMatchersRequest
impl UnsafeUnpin for ConfigNotificationsUpdateMatchersRequest
impl UnwindSafe for ConfigNotificationsUpdateMatchersRequest
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