Struct rocket_okapi_fork::OperationInfo [−][src]
Expand description
Contains information about an endpoint.
Fields
path: String
The path of the endpoint
method: Method
The HTTP Method of this endpoint.
operation: Operation
Contains information to be showed in the documentation about this endpoint.
Auto Trait Implementations
impl RefUnwindSafe for OperationInfo
impl Send for OperationInfo
impl Sync for OperationInfo
impl Unpin for OperationInfo
impl UnwindSafe for OperationInfo
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.