pub struct SpecData<S> {
pub summary: S,
pub description: S,
pub availability: S,
pub license_details: S,
pub repo_url: Option<S>,
pub home_url: Option<S>,
pub docs_url: Option<S>,
pub paper_url: Option<S>,
pub license: License,
pub license_url: Option<S>,
}Expand description
Tool-specific descriptive data which does not depend on a UI framework or
execution environment or on the tool’s identity (slug/name), so that the
same field list can also back the catalog’s &'static str-based static
data – see tool_definitions::catalog::CatalogEntry::spec.
Fields§
§summary: STerser than Summary. May also include copy+paste+modify from an tool-official source.
description: SNote: This may be taken directly (Copy + paste, or modified) directly from the tool’s official website, docs, or paper. It may include a degree of marketing copy, but we try to make it descriptive if that’s too heavy.
availability: S§license_details: S§repo_url: Option<S>§home_url: Option<S>§docs_url: Option<S>§paper_url: Option<S>§license: License§license_url: Option<S>A tool-specific license page, used when license is
License::Other (or any other variant without a fixed
License::official_url).
Implementations§
Trait Implementations§
impl<S: Copy> Copy for SpecData<S>
impl<S: Eq> Eq for SpecData<S>
impl<S: PartialEq> StructuralPartialEq for SpecData<S>
Auto Trait Implementations§
impl<S> Freeze for SpecData<S>where
S: Freeze,
impl<S> RefUnwindSafe for SpecData<S>where
S: RefUnwindSafe,
impl<S> Send for SpecData<S>where
S: Send,
impl<S> Sync for SpecData<S>where
S: Sync,
impl<S> Unpin for SpecData<S>where
S: Unpin,
impl<S> UnsafeUnpin for SpecData<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SpecData<S>where
S: 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