pub enum OpenApiSummaryLabel {
Endpoint,
Summary,
Prefixed,
}Expand description
How to label OpenAPI operations in SUMMARY and package index links.
Renderer-local option; not serialized on the wire.
Variants§
Endpoint
HTTP path only, without method (for example /products).
Summary
OpenAPI summary / operationId title from populate.
Prefixed
Legacy Operation /path prefix plus path (no method).
Trait Implementations§
Source§impl Clone for OpenApiSummaryLabel
impl Clone for OpenApiSummaryLabel
Source§fn clone(&self) -> OpenApiSummaryLabel
fn clone(&self) -> OpenApiSummaryLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenApiSummaryLabel
Source§impl Debug for OpenApiSummaryLabel
impl Debug for OpenApiSummaryLabel
Source§impl Default for OpenApiSummaryLabel
impl Default for OpenApiSummaryLabel
Source§fn default() -> OpenApiSummaryLabel
fn default() -> OpenApiSummaryLabel
Returns the “default value” for a type. Read more
impl Eq for OpenApiSummaryLabel
Source§impl PartialEq for OpenApiSummaryLabel
impl PartialEq for OpenApiSummaryLabel
Source§fn eq(&self, other: &OpenApiSummaryLabel) -> bool
fn eq(&self, other: &OpenApiSummaryLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenApiSummaryLabel
Auto Trait Implementations§
impl Freeze for OpenApiSummaryLabel
impl RefUnwindSafe for OpenApiSummaryLabel
impl Send for OpenApiSummaryLabel
impl Sync for OpenApiSummaryLabel
impl Unpin for OpenApiSummaryLabel
impl UnsafeUnpin for OpenApiSummaryLabel
impl UnwindSafe for OpenApiSummaryLabel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more