pub struct UsageReportConfig {
pub enabled: bool,
pub email_recipients: Option<Vec<String>>,
pub frequency: Option<String>,
pub include_databases: Option<bool>,
pub include_nodes: Option<bool>,
}
Expand description
Usage report configuration
Fields§
§enabled: bool
Whether usage reporting is enabled
email_recipients: Option<Vec<String>>
Email addresses to send usage reports to
frequency: Option<String>
Frequency of report generation (e.g., “daily”, “weekly”, “monthly”)
include_databases: Option<bool>
Whether to include database usage information in reports
include_nodes: Option<bool>
Whether to include node usage information in reports
Trait Implementations§
Source§impl Clone for UsageReportConfig
impl Clone for UsageReportConfig
Source§fn clone(&self) -> UsageReportConfig
fn clone(&self) -> UsageReportConfig
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 UsageReportConfig
impl Debug for UsageReportConfig
Source§impl<'de> Deserialize<'de> for UsageReportConfig
impl<'de> Deserialize<'de> for UsageReportConfig
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 UsageReportConfig
impl RefUnwindSafe for UsageReportConfig
impl Send for UsageReportConfig
impl Sync for UsageReportConfig
impl Unpin for UsageReportConfig
impl UnwindSafe for UsageReportConfig
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