pub struct UIConfig {
pub spec: OpenAPISpec,
pub theme: String,
pub base_url: Option<String>,
pub favicon: String,
}Expand description
Configuration for the documentation UI generator.
Fields§
§spec: OpenAPISpec§theme: String§base_url: Option<String>§favicon: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for UIConfig
impl RefUnwindSafe for UIConfig
impl Send for UIConfig
impl Sync for UIConfig
impl Unpin for UIConfig
impl UnsafeUnpin for UIConfig
impl UnwindSafe for UIConfig
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