[][src]Module limiting_factor::config

Service configuration.

This module allows to configure the service.

It provides a Config trait to build custom configuration implementation.

It also provides a DefaultConfig implementation of this Config trait to extract variables from an .env file or environment.

Structs

MinimalConfig

This is a minimal implementation of the Config trait, which extracts the following variables from an .env file or environment:

Traits

Config

This trait allows to provide a configuration for the resources needed by the API.

EnvironmentConfigurable

This trait allows to configure the object from the environment