pub struct OpenApiConfig {
pub title: String,
pub version: String,
pub document_path: String,
pub ui_path: String,
pub ui: OpenApiUi,
}Expand description
OpenAPI document metadata and well-known HTTP paths.
Fields§
§title: String§version: String§document_path: String§ui_path: String§ui: OpenApiUiImplementations§
Trait Implementations§
Source§impl Clone for OpenApiConfig
impl Clone for OpenApiConfig
Source§fn clone(&self) -> OpenApiConfig
fn clone(&self) -> OpenApiConfig
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 OpenApiConfig
impl Debug for OpenApiConfig
Source§impl Default for OpenApiConfig
impl Default for OpenApiConfig
impl Eq for OpenApiConfig
Source§impl PartialEq for OpenApiConfig
impl PartialEq for OpenApiConfig
impl StructuralPartialEq for OpenApiConfig
Auto Trait Implementations§
impl Freeze for OpenApiConfig
impl RefUnwindSafe for OpenApiConfig
impl Send for OpenApiConfig
impl Sync for OpenApiConfig
impl Unpin for OpenApiConfig
impl UnsafeUnpin for OpenApiConfig
impl UnwindSafe for OpenApiConfig
Blanket Implementations§
Source§impl<T> BackgroundExt for T
impl<T> BackgroundExt for T
fn background(self, task: BackgroundTask) -> Background<Self>
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