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