Struct glean_core::Configuration [−][src]
pub struct Configuration { pub upload_enabled: bool, pub data_path: PathBuf, pub application_id: String, pub language_binding_name: String, pub max_events: Option<usize>, pub delay_ping_lifetime_io: bool, }
The Glean configuration.
Optional values will be filled in with default values.
Fields
upload_enabled: bool
Whether upload should be enabled.
data_path: PathBuf
Path to a directory to store all data in.
application_id: String
The application ID (will be sanitized during initialization).
language_binding_name: String
The name of the programming language used by the binding creating this instance of Glean.
max_events: Option<usize>
The maximum number of events to store before sending a ping containing events.
delay_ping_lifetime_io: bool
Whether Glean should delay persistence of data from metrics with ping lifetime.
Trait Implementations
impl Clone for Configuration
[src]
impl Clone for Configuration
[src]fn clone(&self) -> Configuration
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
impl UnwindSafe for Configuration