#[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 feature
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
sourceimpl 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
sourceimpl Clone for AdminAlertingAlertConfiguration
impl Clone for AdminAlertingAlertConfiguration
sourcefn clone(&self) -> AdminAlertingAlertConfiguration
fn clone(&self) -> AdminAlertingAlertConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for AdminAlertingAlertConfiguration
impl Default for AdminAlertingAlertConfiguration
sourcefn default() -> AdminAlertingAlertConfiguration
fn default() -> AdminAlertingAlertConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AdminAlertingAlertConfiguration
impl<'de> Deserialize<'de> for AdminAlertingAlertConfiguration
sourcefn 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
sourceimpl PartialEq<AdminAlertingAlertConfiguration> for AdminAlertingAlertConfiguration
impl PartialEq<AdminAlertingAlertConfiguration> for AdminAlertingAlertConfiguration
sourcefn eq(&self, other: &AdminAlertingAlertConfiguration) -> bool
fn eq(&self, other: &AdminAlertingAlertConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AdminAlertingAlertConfiguration) -> bool
fn ne(&self, other: &AdminAlertingAlertConfiguration) -> bool
This method tests for !=.
impl Eq for AdminAlertingAlertConfiguration
impl StructuralEq for AdminAlertingAlertConfiguration
impl StructuralPartialEq for AdminAlertingAlertConfiguration
Auto Trait Implementations
impl RefUnwindSafe for AdminAlertingAlertConfiguration
impl Send for AdminAlertingAlertConfiguration
impl Sync for AdminAlertingAlertConfiguration
impl Unpin for AdminAlertingAlertConfiguration
impl UnwindSafe for AdminAlertingAlertConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more