pub struct SpecOptions {
pub title: &'static str,
pub version: &'static str,
pub description: Option<&'static str>,
pub tags: &'static [TagMeta],
}Available on crate feature
server only.Expand description
Document-level OpenAPI info + optional tag descriptions.
Fields§
§title: &'static str§version: &'static str§description: Option<&'static str>Trait Implementations§
Source§impl Clone for SpecOptions
impl Clone for SpecOptions
Source§fn clone(&self) -> SpecOptions
fn clone(&self) -> SpecOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpecOptions
Auto Trait Implementations§
impl Freeze for SpecOptions
impl RefUnwindSafe for SpecOptions
impl Send for SpecOptions
impl Sync for SpecOptions
impl Unpin for SpecOptions
impl UnsafeUnpin for SpecOptions
impl UnwindSafe for SpecOptions
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