pub struct ConceptCard {
pub id: String,
pub title: String,
pub kind: Option<String>,
pub trust: &'static str,
pub status: String,
}Expand description
One concept, as a listing row.
Fields§
§id: StringThe concept id, which is also its route.
title: StringThe title, or the id when it carries none.
kind: Option<String>The declared type, verbatim.
trust: &'static str§5.3’s tier: unverified, machine-confirmed or human-reviewed.
status: String§5.4’s lifecycle value.
Trait Implementations§
Source§impl Clone for ConceptCard
impl Clone for ConceptCard
Source§fn clone(&self) -> ConceptCard
fn clone(&self) -> ConceptCard
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 ConceptCard
impl Debug for ConceptCard
Auto Trait Implementations§
impl Freeze for ConceptCard
impl RefUnwindSafe for ConceptCard
impl Send for ConceptCard
impl Sync for ConceptCard
impl Unpin for ConceptCard
impl UnsafeUnpin for ConceptCard
impl UnwindSafe for ConceptCard
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