pub struct OpenApiOptions {
pub title: String,
pub version: String,
pub description: Option<String>,
}Expand description
Options for OpenAPI generation
Fields§
§title: String§version: String§description: Option<String>Trait Implementations§
Source§impl Clone for OpenApiOptions
impl Clone for OpenApiOptions
Source§fn clone(&self) -> OpenApiOptions
fn clone(&self) -> OpenApiOptions
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 OpenApiOptions
impl Debug for OpenApiOptions
Auto Trait Implementations§
impl Freeze for OpenApiOptions
impl RefUnwindSafe for OpenApiOptions
impl Send for OpenApiOptions
impl Sync for OpenApiOptions
impl Unpin for OpenApiOptions
impl UnsafeUnpin for OpenApiOptions
impl UnwindSafe for OpenApiOptions
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