pub struct TelemetryEndpoint {
pub url: Option<String>,
pub api_key: Option<String>,
pub timeout_ms: u64,
pub test_token: Option<String>,
pub use_system_resolver: bool,
}Expand description
Partial endpoint configuration applied through Config::set_endpoint.
A None (or, for timeout_ms, 0) field leaves the corresponding endpoint
value untouched, so the struct doubles as a patch. use_system_resolver is
always applied.
Fields§
§url: Option<String>§api_key: Option<String>§timeout_ms: u64§test_token: Option<String>Sets X-Datadog-Test-Session-Token header on any request
use_system_resolver: boolUse the system DNS resolver when building the HTTP client. If false, the default in-process resolver is used.
Trait Implementations§
Source§impl Debug for TelemetryEndpoint
impl Debug for TelemetryEndpoint
Source§impl Default for TelemetryEndpoint
impl Default for TelemetryEndpoint
Source§fn default() -> TelemetryEndpoint
fn default() -> TelemetryEndpoint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TelemetryEndpoint
impl RefUnwindSafe for TelemetryEndpoint
impl Send for TelemetryEndpoint
impl Sync for TelemetryEndpoint
impl Unpin for TelemetryEndpoint
impl UnsafeUnpin for TelemetryEndpoint
impl UnwindSafe for TelemetryEndpoint
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