Struct rocket_okapi_fork::handlers::OpenApiHandler [−][src]
pub struct OpenApiHandler { /* fields omitted */ }
Expand description
A handler type that is used to serve the openapi.json
files.
Implementations
Trait Implementations
Called by Rocket when a Request
with its associated Data
should be
handled by this handler. Read more
Auto Trait Implementations
impl RefUnwindSafe for OpenApiHandler
impl Send for OpenApiHandler
impl Sync for OpenApiHandler
impl Unpin for OpenApiHandler
impl UnwindSafe for OpenApiHandler
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.