Expand description
Helpers for deserializing a Data
struct from the environment
In order to use this module, set the “env” feature in your Cargo.toml:
[dependencies.mastodon-async]
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