pub struct BdbAlertSettingsWithThreshold {
pub enabled: bool,
pub threshold: String,
}
Expand description
Database alert settings with threshold
Fields§
§enabled: bool
True if alert is enabled
threshold: String
String representing the alert threshold value
Trait Implementations§
Source§impl Clone for BdbAlertSettingsWithThreshold
impl Clone for BdbAlertSettingsWithThreshold
Source§fn clone(&self) -> BdbAlertSettingsWithThreshold
fn clone(&self) -> BdbAlertSettingsWithThreshold
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<'de> Deserialize<'de> for BdbAlertSettingsWithThreshold
impl<'de> Deserialize<'de> for BdbAlertSettingsWithThreshold
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
Auto Trait Implementations§
impl Freeze for BdbAlertSettingsWithThreshold
impl RefUnwindSafe for BdbAlertSettingsWithThreshold
impl Send for BdbAlertSettingsWithThreshold
impl Sync for BdbAlertSettingsWithThreshold
impl Unpin for BdbAlertSettingsWithThreshold
impl UnwindSafe for BdbAlertSettingsWithThreshold
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