pub enum ViewTab {
Show 17 variants
Overview,
Quality,
Source,
Tree,
Vulnerabilities,
Licenses,
Dependencies,
Compliance,
Algorithms,
Certificates,
Keys,
Protocols,
PqcCompliance,
Models,
Datasets,
AiReadiness,
Crypto,
}Expand description
View tabs for the single SBOM viewer.
Variants§
Overview
Overview: SBOM stats or CBOM quantum dashboard (adapts per profile)
Quality
Quality score view (metrics adapt per profile)
Source
Original SBOM source viewer
Tree
Hierarchical component tree
Vulnerabilities
Vulnerability explorer
Licenses
License analysis view
Dependencies
Dependency graph view
Compliance
Compliance validation view (NTIA/CRA/FDA/SSDF/EO14028)
Algorithms
Algorithm inventory with quantum readiness indicators
Certificates
Certificate validity tracking and expiry timeline
Keys
Key material state monitoring
Protocols
Protocol and cipher suite analysis
PqcCompliance
PQC compliance (CNSA 2.0 + NIST PQC dedicated view)
Models
Machine-learning model inventory with model-card metadata
Datasets
Training/evaluation dataset inventory with governance metadata
AiReadiness
AI-readiness scoring dashboard (model-card completeness)
Crypto
Single crypto tab (kept for preference migration)
Implementations§
Source§impl ViewTab
impl ViewTab
Sourcepub fn shortcut_for_profile(&self, profile: BomProfile) -> Option<usize>
pub fn shortcut_for_profile(&self, profile: BomProfile) -> Option<usize>
Positional shortcut key based on tab position in the profile’s tab set.
Sourcepub const fn tabs_for_profile(profile: BomProfile) -> &'static [ViewTab]
pub const fn tabs_for_profile(profile: BomProfile) -> &'static [ViewTab]
Get the tab set for a given BOM profile.
Each profile defines its own ordered set of tabs. Number keys 1-8 map positionally to this slice.
Sourcepub fn from_str_opt(s: &str) -> Option<Self>
pub fn from_str_opt(s: &str) -> Option<Self>
Parse from a persisted string identifier.
Trait Implementations§
impl Copy for ViewTab
impl Eq for ViewTab
impl StructuralPartialEq for ViewTab
Auto Trait Implementations§
impl Freeze for ViewTab
impl RefUnwindSafe for ViewTab
impl Send for ViewTab
impl Sync for ViewTab
impl Unpin for ViewTab
impl UnsafeUnpin for ViewTab
impl UnwindSafe for ViewTab
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more