Struct gotham_restful::OpenapiRouter
source · [−]pub struct OpenapiRouter(_);
Expand description
This type is required to build routes while adding them to the generated OpenAPI Spec at the
same time. There is no need to use this type directly. See WithOpenapi
on how to do this.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpenapiRouter
impl Send for OpenapiRouter
impl Sync for OpenapiRouter
impl Unpin for OpenapiRouter
impl UnwindSafe for OpenapiRouter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Convert self
to an expression for Diesel’s query builder. Read more
sourcefn 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