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: DefaultConfig
routes: Vec<Route>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DefaultService
impl Send for DefaultService
impl Sync for DefaultService
impl Unpin for DefaultService
impl !UnwindSafe for DefaultService
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