pub enum EnvParser {
Json,
CommaSeparated,
CsvCommaSeparated,
CommaAndSpaceSeparated,
CommaThenSpaceSeparated,
JsonListOrCommaSeparated,
JsonListOrSpaceSeparated,
TracesSpan,
}Expand description
A named environment-variable parser declared by the schema’s env_parser key.
The Datadog Agent registers a bespoke transform for these settings instead of the default
type-based cast. Codegen maps supported parsers onto runtime decoders and rejects unsupported
parsers for modeled keys. A setting without env_parser falls back to its declared type.
Variants§
Json
CommaSeparated
CsvCommaSeparated
CommaAndSpaceSeparated
CommaThenSpaceSeparated
JsonListOrCommaSeparated
JsonListOrSpaceSeparated
TracesSpan
Auto Trait Implementations§
impl Freeze for EnvParser
impl RefUnwindSafe for EnvParser
impl Send for EnvParser
impl Sync for EnvParser
impl Unpin for EnvParser
impl UnwindSafe for EnvParser
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