Struct appinsights::TelemetryConfig [−][src]
pub struct TelemetryConfig { /* fields omitted */ }
Expand description
Configuration data used to initialize a new TelemetryClient
with.
Examples
Creating a telemetry client configuration with default settings
let config = TelemetryConfig::new("<instrumentation key>".to_string());
Creating a telemetry client configuration with custom settings
let config = TelemetryConfig::builder()
.i_key("<instrumentation key>")
.interval(Duration::from_secs(5))
.build();
Implementations
Creates a new telemetry configuration with specified instrumentation key and default values.
Creates a new telemetry configuration builder with default parameters.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.