pub struct OtlpConfig {
pub endpoint: String,
pub headers: BTreeMap<String, String>,
}Expand description
OTLP transport configuration. Debug output deliberately redacts headers.
Fields§
§endpoint: StringCollector base URL; /v1/{signal} is appended.
headers: BTreeMap<String, String>Explicit request headers, commonly authorization material.
Trait Implementations§
Source§impl Clone for OtlpConfig
impl Clone for OtlpConfig
Source§impl Debug for OtlpConfig
impl Debug for OtlpConfig
impl Eq for OtlpConfig
Source§impl PartialEq for OtlpConfig
impl PartialEq for OtlpConfig
impl StructuralPartialEq for OtlpConfig
Auto Trait Implementations§
impl Freeze for OtlpConfig
impl RefUnwindSafe for OtlpConfig
impl Send for OtlpConfig
impl Sync for OtlpConfig
impl Unpin for OtlpConfig
impl UnsafeUnpin for OtlpConfig
impl UnwindSafe for OtlpConfig
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