pub struct BuildOptions<'a> {
pub title: &'a str,
pub version: &'a str,
pub servers: &'a [String],
pub docs_prefix: &'a str,
}Fields§
§title: &'a str§version: &'a str§servers: &'a [String]§docs_prefix: &'a strPath prefix for docs routes to exclude (e.g. /docs).
Auto Trait Implementations§
impl<'a> Freeze for BuildOptions<'a>
impl<'a> RefUnwindSafe for BuildOptions<'a>
impl<'a> Send for BuildOptions<'a>
impl<'a> Sync for BuildOptions<'a>
impl<'a> Unpin for BuildOptions<'a>
impl<'a> UnsafeUnpin for BuildOptions<'a>
impl<'a> UnwindSafe for BuildOptions<'a>
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