pub struct SwaggerUiConfig {
pub openapi_url: String,
pub title: String,
}Expand description
Swagger UI 配置
Fields§
§openapi_url: StringOpenAPI 文档 URL
title: StringSwagger UI 标题
Implementations§
Trait Implementations§
Source§impl Clone for SwaggerUiConfig
impl Clone for SwaggerUiConfig
Source§fn clone(&self) -> SwaggerUiConfig
fn clone(&self) -> SwaggerUiConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SwaggerUiConfig
impl Debug for SwaggerUiConfig
Auto Trait Implementations§
impl Freeze for SwaggerUiConfig
impl RefUnwindSafe for SwaggerUiConfig
impl Send for SwaggerUiConfig
impl Sync for SwaggerUiConfig
impl Unpin for SwaggerUiConfig
impl UnsafeUnpin for SwaggerUiConfig
impl UnwindSafe for SwaggerUiConfig
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