pub struct Config {
pub application_name: Option<String>,
pub endpoint: String,
pub api_key: Option<String>,
pub queue_capacity: usize,
pub flush_interval_ms: u64,
pub time_mode: TimeMode,
pub enable_panic_hook: bool,
}Fields§
§application_name: Option<String>§endpoint: String§api_key: Option<String>§queue_capacity: usize§flush_interval_ms: u64§time_mode: TimeMode§enable_panic_hook: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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