Enum rocket_okapi_fork::swagger_ui::DocExpansion [−][src]
pub enum DocExpansion { List, Full, None, }
Expand description
Used to control the default expansion setting for the operations and tags.
Variants
Expands only the tags.
Expands the tags and operations
Expands nothing
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DocExpansion
impl Send for DocExpansion
impl Sync for DocExpansion
impl Unpin for DocExpansion
impl UnwindSafe for DocExpansion
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.