pub struct AnalyticsConfig {
pub enabled: bool,
pub endpoint: String,
pub api_key: Option<String>,
pub collection_interval: u64,
pub detailed_metrics: bool,
pub retention_days: u32,
}Expand description
Analytics configuration
Fields§
§enabled: boolWhether analytics is enabled
endpoint: StringAnalytics endpoint
api_key: Option<String>Analytics API key
collection_interval: u64Metrics collection interval in seconds
detailed_metrics: boolWhether to collect detailed metrics
retention_days: u32Retention period for metrics in days
Trait Implementations§
Source§impl Clone for AnalyticsConfig
impl Clone for AnalyticsConfig
Source§fn clone(&self) -> AnalyticsConfig
fn clone(&self) -> AnalyticsConfig
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 AnalyticsConfig
impl Debug for AnalyticsConfig
Source§impl Default for AnalyticsConfig
impl Default for AnalyticsConfig
Source§impl<'de> Deserialize<'de> for AnalyticsConfig
impl<'de> Deserialize<'de> for AnalyticsConfig
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 AnalyticsConfig
impl RefUnwindSafe for AnalyticsConfig
impl Send for AnalyticsConfig
impl Sync for AnalyticsConfig
impl Unpin for AnalyticsConfig
impl UnwindSafe for AnalyticsConfig
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