pub struct TrackingConfig {
pub enabled: bool,
pub db_path: String,
}Expand description
SQLite tracking configuration.
Fields§
§enabled: boolWhether to record per-call metrics.
db_path: StringPath to the SQLite database. Supports ~/ expansion.
Trait Implementations§
Source§impl Clone for TrackingConfig
impl Clone for TrackingConfig
Source§fn clone(&self) -> TrackingConfig
fn clone(&self) -> TrackingConfig
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 TrackingConfig
impl Debug for TrackingConfig
Source§impl Default for TrackingConfig
impl Default for TrackingConfig
Source§impl<'de> Deserialize<'de> for TrackingConfig
impl<'de> Deserialize<'de> for TrackingConfig
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 TrackingConfig
impl RefUnwindSafe for TrackingConfig
impl Send for TrackingConfig
impl Sync for TrackingConfig
impl Unpin for TrackingConfig
impl UnsafeUnpin for TrackingConfig
impl UnwindSafe for TrackingConfig
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