pub struct BundleView {
pub root: String,
pub okf_version: Option<String>,
pub concepts: Vec<ConceptCard>,
pub human_reviewed: usize,
pub machine_confirmed: usize,
pub unverified: usize,
pub broken_links: usize,
pub flagged: Vec<FlaggedConcept>,
}Expand description
What the viewer shows about a bundle as a whole.
Fields§
§root: StringThe bundle root, as the caller named it.
okf_version: Option<String>The declared okf_version, when the root index carries one (§8 makes it
optional, so None is ordinary rather than a fault).
concepts: Vec<ConceptCard>Every concept, in bundle order.
human_reviewed: usize§5.3 tiers, counted.
machine_confirmed: usize§unverified: usize§broken_links: usizeLinks naming a concept the bundle does not contain. §6 tells a consumer to tolerate these, so they are shown rather than treated as a failure.
flagged: Vec<FlaggedConcept>Concepts whose text tripped the screener, with the classes it named.
Trait Implementations§
Source§impl Clone for BundleView
impl Clone for BundleView
Source§fn clone(&self) -> BundleView
fn clone(&self) -> BundleView
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 BundleView
impl Debug for BundleView
Auto Trait Implementations§
impl Freeze for BundleView
impl RefUnwindSafe for BundleView
impl Send for BundleView
impl Sync for BundleView
impl Unpin for BundleView
impl UnsafeUnpin for BundleView
impl UnwindSafe for BundleView
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