Module prelude

Module prelude 

Source
Expand description

The prelude module re-exports common items for easy inclusion.

Structs§

EnvEntry
Represents an environment variable entry with its name, type, and optional default value.
EnvJson
Wrapper struct for deserializing JSON environment variables
EnvMap
A wrapper around HashMap to provide environment variable parsing functionality.
WithJson
A wrapper struct that provides JSON parsing functionality for a given type T.

Enums§

EnvStructError
Represents errors that can occur while processing environment variables.

Traits§

EnvParseNested
Trait for parsing nested environment variables.
EnvParsePrimitive
A trait for parsing environment variables into primitive types.
EnvStructUsage
A trait for generating usage information for environment variables.

Functions§

concat_env_name
Concatenates two environment variable names with an underscore.

Type Aliases§

BoxError
A boxed error type that is Send, Sync, and 'static.

Derive Macros§

EnvStruct
Derives the EnvStruct trait for a struct or enum.