Struct limiting_factor::config::MinimalConfig [−][src]
pub struct MinimalConfig { /* fields omitted */ }
Expand description
This is a minimal implementation of the Config
trait, which extracts the following variables
from an .env file or environment:
API_ENTRY_POINT
(facultative, by default/
): the mounting point of the API methods
It sets the server not to use a database.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MinimalConfig
impl Send for MinimalConfig
impl Sync for MinimalConfig
impl Unpin for MinimalConfig
impl UnwindSafe for MinimalConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.