pub struct OpenApiInfo {
pub title: String,
pub version: String,
pub description: Option<String>,
}Expand description
Basic OpenAPI document information.
Fields§
§title: String§version: String§description: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for OpenApiInfo
impl Clone for OpenApiInfo
Source§fn clone(&self) -> OpenApiInfo
fn clone(&self) -> OpenApiInfo
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 OpenApiInfo
impl Debug for OpenApiInfo
impl Eq for OpenApiInfo
Source§impl PartialEq for OpenApiInfo
impl PartialEq for OpenApiInfo
Source§fn eq(&self, other: &OpenApiInfo) -> bool
fn eq(&self, other: &OpenApiInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenApiInfo
impl Serialize for OpenApiInfo
impl StructuralPartialEq for OpenApiInfo
Auto Trait Implementations§
impl Freeze for OpenApiInfo
impl RefUnwindSafe for OpenApiInfo
impl Send for OpenApiInfo
impl Sync for OpenApiInfo
impl Unpin for OpenApiInfo
impl UnsafeUnpin for OpenApiInfo
impl UnwindSafe for OpenApiInfo
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