pub struct ApiSource {
pub title: String,
pub slug: String,
pub url: String,
}Expand description
A single Scalar API reference source entry.
Each temporal version boundary gets its own source so Scalar renders a version switcher in the UI.
Fields§
§title: String§slug: String§url: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for ApiSource
impl Freeze for ApiSource
impl Move for ApiSource
impl RefUnwindSafe for ApiSource
impl Send for ApiSourcewhere
RawVecInner: Send,
impl Sync for ApiSourcewhere
RawVecInner: Sync,
impl Unpin for ApiSource
impl UnsafeUnpin for ApiSource
impl UnwindSafe for ApiSourcewhere
RawVecInner: UnwindSafe,
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