Struct limiting_factor::kernel::MinimalService [−][src]
pub struct MinimalService {
pub config: MinimalConfig,
pub routes: Vec<Route>,
}
Expand description
The minimal service allows to spawn a server without any extra feature.
Fields
config: MinimalConfig
routes: Vec<Route>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MinimalService
impl Send for MinimalService
impl Sync for MinimalService
impl Unpin for MinimalService
impl !UnwindSafe for MinimalService
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