pub struct TelemetryContext {
pub database: Option<String>,
pub adapter: Option<String>,
pub skip_test_check: bool,
pub custom_track: Option<CustomTrackFn>,
pub http_transport: Option<Arc<dyn TelemetryHttpTransport>>,
pub test_hooks: Option<TelemetryTestHooks>,
}Expand description
Optional hints and hooks for telemetry collection.
Fields§
§database: Option<String>§adapter: Option<String>§skip_test_check: bool§custom_track: Option<CustomTrackFn>§http_transport: Option<Arc<dyn TelemetryHttpTransport>>§test_hooks: Option<TelemetryTestHooks>Trait Implementations§
Source§impl Clone for TelemetryContext
impl Clone for TelemetryContext
Source§fn clone(&self) -> TelemetryContext
fn clone(&self) -> TelemetryContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TelemetryContext
impl Default for TelemetryContext
Source§fn default() -> TelemetryContext
fn default() -> TelemetryContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TelemetryContext
impl !RefUnwindSafe for TelemetryContext
impl Send for TelemetryContext
impl Sync for TelemetryContext
impl Unpin for TelemetryContext
impl UnsafeUnpin for TelemetryContext
impl !UnwindSafe for TelemetryContext
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