pub struct RedocConfig { /* private fields */ }Expand description
Config for exposing the openapi specification through Redoc
Implementations§
Source§impl RedocConfig
impl RedocConfig
Sourcepub fn new<T: ToString>(path: &T) -> Self
pub fn new<T: ToString>(path: &T) -> Self
Create a new RedocConfig with the path on which to expose the redoc ui.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedocConfig
impl RefUnwindSafe for RedocConfig
impl Send for RedocConfig
impl Sync for RedocConfig
impl Unpin for RedocConfig
impl UnwindSafe for RedocConfig
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