#[non_exhaustive]pub enum ReportFormat {
Show 13 variants
Auto,
Tui,
SideBySide,
Json,
Sarif,
OscalJson,
Markdown,
Html,
Summary,
Table,
Csv,
Ndjson,
SbomqsJson,
}Expand description
Output format for reports
Serde names are kebab-case, matching the CLI spellings (-o oscal-json)
so a hand-written config file can use the same values the CLI documents.
The historical PascalCase variant names are kept as aliases so existing
config files (format: Json) keep loading.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Auto
Auto-detect: TUI if TTY, summary otherwise
Tui
Interactive TUI display
SideBySide
Side-by-side terminal diff (like difftastic)
Json
Structured JSON output
Sarif
SARIF 2.1.0 for CI/CD
OscalJson
OSCAL 1.1.2 assessment-results JSON
Markdown
Human-readable Markdown
Html
Interactive HTML report
Summary
Brief summary output
Table
Compact table for terminal (colored)
Csv
CSV for spreadsheet import
Ndjson
Newline-delimited JSON (one record per line, streaming-friendly)
SbomqsJson
interlynk-io/sbomqs score --json-shaped quality scores (0-10),
recomputed per-feature for side-by-side comparison with sbomqs
output (quality command only)
Trait Implementations§
Source§impl Clone for ReportFormat
impl Clone for ReportFormat
Source§fn clone(&self) -> ReportFormat
fn clone(&self) -> ReportFormat
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ReportFormat
Source§impl Debug for ReportFormat
impl Debug for ReportFormat
Source§impl Default for ReportFormat
impl Default for ReportFormat
Source§fn default() -> ReportFormat
fn default() -> ReportFormat
Source§impl<'de> Deserialize<'de> for ReportFormat
impl<'de> Deserialize<'de> for ReportFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for ReportFormat
impl Display for ReportFormat
impl Eq for ReportFormat
Source§impl JsonSchema for ReportFormat
impl JsonSchema for ReportFormat
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ReportFormat
impl PartialEq for ReportFormat
Source§impl Serialize for ReportFormat
impl Serialize for ReportFormat
impl StructuralPartialEq for ReportFormat
Source§impl ValueEnum for ReportFormat
impl ValueEnum for ReportFormat
Auto Trait Implementations§
impl Freeze for ReportFormat
impl RefUnwindSafe for ReportFormat
impl Send for ReportFormat
impl Sync for ReportFormat
impl Unpin for ReportFormat
impl UnsafeUnpin for ReportFormat
impl UnwindSafe for ReportFormat
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read moreSource§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.