Struct limiting_factor::kernel::DefaultService[][src]

pub struct DefaultService {
    pub config: DefaultConfig,
    pub routes: Vec<Route>,
}
Expand description

The default service offers a pgsql database connection with Diesel and r2d2.

Fields

config: DefaultConfigroutes: Vec<Route>

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts self into a collection.

Convert self to an expression for Diesel’s query builder. Read more

Convert &self to an expression for Diesel’s query builder. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Get the TypeId of this object.