pub struct DroastConfig {
pub skip: Option<Vec<String>>,
pub min_severity: Option<String>,
pub no_roast: Option<bool>,
pub no_fail: Option<bool>,
pub format: Option<String>,
}Fields§
§skip: Option<Vec<String>>Rule IDs to skip (merged with –skip on CLI).
min_severity: Option<String>Minimum severity to report: “info”, “warning”, or “error”.
no_roast: Option<bool>Suppress roast messages; show technical descriptions only.
no_fail: Option<bool>Never exit with code 1 (advisory / non-blocking mode).
format: Option<String>Output format: “terminal”, “json”, “github”, or “compact”.
Implementations§
Trait Implementations§
Source§impl Debug for DroastConfig
impl Debug for DroastConfig
Source§impl Default for DroastConfig
impl Default for DroastConfig
Source§fn default() -> DroastConfig
fn default() -> DroastConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DroastConfig
impl<'de> Deserialize<'de> for DroastConfig
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
Auto Trait Implementations§
impl Freeze for DroastConfig
impl RefUnwindSafe for DroastConfig
impl Send for DroastConfig
impl Sync for DroastConfig
impl Unpin for DroastConfig
impl UnsafeUnpin for DroastConfig
impl UnwindSafe for DroastConfig
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