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
Auto Trait Implementations§
impl RefUnwindSafe for ModelConfig
impl Send for ModelConfig
impl Sync for ModelConfig
impl Unpin for ModelConfig
impl UnwindSafe for ModelConfig
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