Struct opentelemetry_datadog::ModelConfig
source · #[non_exhaustive]pub struct ModelConfig {
pub service_name: String,
}
Expand description
Helper struct to custom the mapping between Opentelemetry spans and datadog spans.
This struct will be passed to FieldMappingFn
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.service_name: String
Trait Implementations§
source§impl Debug for ModelConfig
impl Debug for ModelConfig
source§impl Default for ModelConfig
impl Default for ModelConfig
source§fn default() -> ModelConfig
fn default() -> ModelConfig
Returns the “default value” for a type. Read more