#[non_exhaustive]pub struct DataCollectionOptionsCommon {
pub is_diagnostics_events_enabled: bool,
pub is_health_monitoring_enabled: bool,
pub is_incident_logs_enabled: bool,
/* private fields */
}Expand description
Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DataCollectionOptions
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.is_diagnostics_events_enabled: boolOptional. Indicates whether to enable data collection for diagnostics.
is_health_monitoring_enabled: boolOptional. Indicates whether to enable health monitoring.
is_incident_logs_enabled: boolOptional. Indicates whether to enable incident logs and trace collection.
Implementations§
Source§impl DataCollectionOptionsCommon
impl DataCollectionOptionsCommon
pub fn new() -> Self
Sourcepub fn set_is_diagnostics_events_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_is_diagnostics_events_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of is_diagnostics_events_enabled.
§Example
ⓘ
let x = DataCollectionOptionsCommon::new().set_is_diagnostics_events_enabled(true);Sourcepub fn set_is_health_monitoring_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_is_health_monitoring_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of is_health_monitoring_enabled.
§Example
ⓘ
let x = DataCollectionOptionsCommon::new().set_is_health_monitoring_enabled(true);Sourcepub fn set_is_incident_logs_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_is_incident_logs_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of is_incident_logs_enabled.
§Example
ⓘ
let x = DataCollectionOptionsCommon::new().set_is_incident_logs_enabled(true);Trait Implementations§
Source§impl Clone for DataCollectionOptionsCommon
impl Clone for DataCollectionOptionsCommon
Source§fn clone(&self) -> DataCollectionOptionsCommon
fn clone(&self) -> DataCollectionOptionsCommon
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 Debug for DataCollectionOptionsCommon
impl Debug for DataCollectionOptionsCommon
Source§impl Default for DataCollectionOptionsCommon
impl Default for DataCollectionOptionsCommon
Source§fn default() -> DataCollectionOptionsCommon
fn default() -> DataCollectionOptionsCommon
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DataCollectionOptionsCommon
Auto Trait Implementations§
impl Freeze for DataCollectionOptionsCommon
impl RefUnwindSafe for DataCollectionOptionsCommon
impl Send for DataCollectionOptionsCommon
impl Sync for DataCollectionOptionsCommon
impl Unpin for DataCollectionOptionsCommon
impl UnsafeUnpin for DataCollectionOptionsCommon
impl UnwindSafe for DataCollectionOptionsCommon
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