pub struct OutputFeatureConfig {
pub max_markdown_lines: Option<usize>,
pub max_annotations: Option<usize>,
pub max_sarif_results: Option<usize>,
}Expand description
Partial output configuration from external sources (config / CLI overrides).
Fields§
§max_markdown_lines: Option<usize>Optional maximum number of uncovered lines rendered in markdown.
max_annotations: Option<usize>Optional maximum number of GitHub annotations to emit.
max_sarif_results: Option<usize>Optional maximum number of SARIF results to emit.
Implementations§
Source§impl OutputFeatureConfig
impl OutputFeatureConfig
Sourcepub fn materialize(self, base: OutputFeatureFlags) -> OutputFeatureFlags
pub fn materialize(self, base: OutputFeatureFlags) -> OutputFeatureFlags
Materialize this partial configuration over base flags.
Trait Implementations§
Source§impl Clone for OutputFeatureConfig
impl Clone for OutputFeatureConfig
Source§fn clone(&self) -> OutputFeatureConfig
fn clone(&self) -> OutputFeatureConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 OutputFeatureConfig
impl Debug for OutputFeatureConfig
Source§impl Default for OutputFeatureConfig
impl Default for OutputFeatureConfig
Source§fn default() -> OutputFeatureConfig
fn default() -> OutputFeatureConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputFeatureConfig
impl<'de> Deserialize<'de> for OutputFeatureConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OutputFeatureConfig
impl PartialEq for OutputFeatureConfig
Source§impl Serialize for OutputFeatureConfig
impl Serialize for OutputFeatureConfig
impl Copy for OutputFeatureConfig
impl Eq for OutputFeatureConfig
impl StructuralPartialEq for OutputFeatureConfig
Auto Trait Implementations§
impl Freeze for OutputFeatureConfig
impl RefUnwindSafe for OutputFeatureConfig
impl Send for OutputFeatureConfig
impl Sync for OutputFeatureConfig
impl Unpin for OutputFeatureConfig
impl UnsafeUnpin for OutputFeatureConfig
impl UnwindSafe for OutputFeatureConfig
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