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
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more