#[non_exhaustive]pub struct AdminAlertingAlertConfiguration {
pub alert_state: Option<AdminAlertingAlertStatePolicy>,
pub sensitivity_level: Option<AdminAlertingAlertSensitivity>,
pub recipients_settings: Option<RecipientsConfiguration>,
pub text: Option<String>,
pub excluded_file_extensions: Option<String>,
}
Available on crate features
async_routes
and dbx_team_log
only.Expand description
Alert configurations
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.alert_state: Option<AdminAlertingAlertStatePolicy>
Alert state.
sensitivity_level: Option<AdminAlertingAlertSensitivity>
Sensitivity level.
recipients_settings: Option<RecipientsConfiguration>
Recipient settings.
text: Option<String>
Text.
excluded_file_extensions: Option<String>
Excluded file extensions.
Implementations§
Source§impl AdminAlertingAlertConfiguration
impl AdminAlertingAlertConfiguration
pub fn with_alert_state(self, value: AdminAlertingAlertStatePolicy) -> Self
pub fn with_sensitivity_level( self, value: AdminAlertingAlertSensitivity, ) -> Self
pub fn with_recipients_settings(self, value: RecipientsConfiguration) -> Self
pub fn with_text(self, value: String) -> Self
pub fn with_excluded_file_extensions(self, value: String) -> Self
Trait Implementations§
Source§impl Clone for AdminAlertingAlertConfiguration
impl Clone for AdminAlertingAlertConfiguration
Source§fn clone(&self) -> AdminAlertingAlertConfiguration
fn clone(&self) -> AdminAlertingAlertConfiguration
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 Default for AdminAlertingAlertConfiguration
impl Default for AdminAlertingAlertConfiguration
Source§fn default() -> AdminAlertingAlertConfiguration
fn default() -> AdminAlertingAlertConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdminAlertingAlertConfiguration
impl<'de> Deserialize<'de> for AdminAlertingAlertConfiguration
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AdminAlertingAlertConfiguration
impl PartialEq for AdminAlertingAlertConfiguration
Source§fn eq(&self, other: &AdminAlertingAlertConfiguration) -> bool
fn eq(&self, other: &AdminAlertingAlertConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for AdminAlertingAlertConfiguration
impl StructuralPartialEq for AdminAlertingAlertConfiguration
Auto Trait Implementations§
impl Freeze for AdminAlertingAlertConfiguration
impl RefUnwindSafe for AdminAlertingAlertConfiguration
impl Send for AdminAlertingAlertConfiguration
impl Sync for AdminAlertingAlertConfiguration
impl Unpin for AdminAlertingAlertConfiguration
impl UnwindSafe for AdminAlertingAlertConfiguration
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.