pub struct OpenApiTag {
pub name: String,
pub description: Option<String>,
pub external_docs: Option<OpenApiExternalDocs>,
}Expand description
OpenAPI tag entry.
Fields§
§name: String§description: Option<String>§external_docs: Option<OpenApiExternalDocs>Implementations§
Trait Implementations§
Source§impl Clone for OpenApiTag
impl Clone for OpenApiTag
Source§fn clone(&self) -> OpenApiTag
fn clone(&self) -> OpenApiTag
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 moreSource§impl Debug for OpenApiTag
impl Debug for OpenApiTag
impl Eq for OpenApiTag
Source§impl PartialEq for OpenApiTag
impl PartialEq for OpenApiTag
Source§impl Serialize for OpenApiTag
impl Serialize for OpenApiTag
impl StructuralPartialEq for OpenApiTag
Auto Trait Implementations§
impl Freeze for OpenApiTag
impl RefUnwindSafe for OpenApiTag
impl Send for OpenApiTag
impl Sync for OpenApiTag
impl Unpin for OpenApiTag
impl UnsafeUnpin for OpenApiTag
impl UnwindSafe for OpenApiTag
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