pub struct Configuration {
pub upload_enabled: bool,
pub data_path: String,
pub application_id: String,
pub max_events: Option<usize>,
pub delay_ping_lifetime_io: bool,
pub channel: Option<String>,
}Expand description
The Glean configuration.
Optional values will be filled in with default values.
Fields§
§upload_enabled: boolWhether upload should be enabled.
data_path: StringPath to a directory to store all data in.
application_id: StringThe application ID (will be sanitized during initialization).
max_events: Option<usize>The maximum number of events to store before sending a ping containing events.
delay_ping_lifetime_io: boolWhether Glean should delay persistence of data from metrics with ping lifetime.
channel: Option<String>The release channel the application is on, if known.
Trait Implementations§
Source§impl Clone for Configuration
impl Clone for Configuration
Source§fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
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 moreAuto Trait Implementations§
impl Freeze for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
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