[][src]Module elefren::helpers::env

Helpers for deserializing a Data struct from the environment

In order to use this module, set the "env" feature in your Cargo.toml:

[dependencies.elefren]
version = "0.22"
features = ["env"]

Functions

from_env

Attempts to deserialize a Data struct from the environment

from_env_prefixed

Attempts to deserialize a Data struct from the environment. All keys are prefixed with the given prefix