pub struct ConceptView {
pub id: String,
pub title: String,
pub kind: Option<String>,
pub trust: &'static str,
pub status: String,
pub path: String,
pub body_html: String,
pub links: Vec<LinkRow>,
pub backlinks: Vec<String>,
pub screen: Vec<String>,
}Expand description
One concept, rendered.
Fields§
§id: StringThe concept id.
title: StringThe title, or the id.
kind: Option<String>The declared type.
trust: &'static str§5.3’s tier.
status: String§5.4’s lifecycle value.
path: StringThe file, relative to the bundle root.
body_html: StringThe body, rendered under the rules in this module’s documentation.
links: Vec<LinkRow>Links out, in body order.
backlinks: Vec<String>Concepts that link here.
screen: Vec<String>Screener classes for this concept’s text, if any.
Trait Implementations§
Source§impl Clone for ConceptView
impl Clone for ConceptView
Source§fn clone(&self) -> ConceptView
fn clone(&self) -> ConceptView
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 moreSource§impl Debug for ConceptView
impl Debug for ConceptView
Auto Trait Implementations§
impl Freeze for ConceptView
impl RefUnwindSafe for ConceptView
impl Send for ConceptView
impl Sync for ConceptView
impl Unpin for ConceptView
impl UnsafeUnpin for ConceptView
impl UnwindSafe for ConceptView
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