pub struct ConfigNotificationsCreateMatchersRequest {
pub comment: 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 name: String,
pub origin: Option<PbsOriginEnum>,
pub target: Option<Vec<String>>,
}Fields§
§comment: Option<String>Comment.
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.
name: StringName schema for targets and matchers
origin: Option<PbsOriginEnum>The origin of a notification configuration entry.
target: Option<Vec<String>>Targets to notify.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigNotificationsCreateMatchersRequest
impl Clone for ConfigNotificationsCreateMatchersRequest
Source§fn clone(&self) -> ConfigNotificationsCreateMatchersRequest
fn clone(&self) -> ConfigNotificationsCreateMatchersRequest
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 ConfigNotificationsCreateMatchersRequest
impl Default for ConfigNotificationsCreateMatchersRequest
Source§fn default() -> ConfigNotificationsCreateMatchersRequest
fn default() -> ConfigNotificationsCreateMatchersRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsCreateMatchersRequest
impl<'de> Deserialize<'de> for ConfigNotificationsCreateMatchersRequest
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 ConfigNotificationsCreateMatchersRequest
impl PartialEq for ConfigNotificationsCreateMatchersRequest
Source§fn eq(&self, other: &ConfigNotificationsCreateMatchersRequest) -> bool
fn eq(&self, other: &ConfigNotificationsCreateMatchersRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsCreateMatchersRequest
Auto Trait Implementations§
impl Freeze for ConfigNotificationsCreateMatchersRequest
impl RefUnwindSafe for ConfigNotificationsCreateMatchersRequest
impl Send for ConfigNotificationsCreateMatchersRequest
impl Sync for ConfigNotificationsCreateMatchersRequest
impl Unpin for ConfigNotificationsCreateMatchersRequest
impl UnsafeUnpin for ConfigNotificationsCreateMatchersRequest
impl UnwindSafe for ConfigNotificationsCreateMatchersRequest
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