pub struct TomlConfig {
pub scan: ScanConfig,
pub module: ModuleConfig,
pub export: ExportConfig,
pub analyze: AnalyzeConfig,
pub context: ContextConfig,
pub badge: BadgeConfig,
pub gate: GateConfig,
pub view: BTreeMap<String, ViewProfile>,
}Expand description
Root TOML configuration structure.
Fields§
§scan: ScanConfigScan settings (applies to all commands).
module: ModuleConfigModule command settings.
export: ExportConfigExport command settings.
analyze: AnalyzeConfigAnalyze command settings.
context: ContextConfigContext command settings.
badge: BadgeConfigBadge command settings.
gate: GateConfigGate command settings.
view: BTreeMap<String, ViewProfile>Named view profiles (e.g., [view.llm], [view.ci]).
Implementations§
Trait Implementations§
Source§impl Clone for TomlConfig
impl Clone for TomlConfig
Source§fn clone(&self) -> TomlConfig
fn clone(&self) -> TomlConfig
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 TomlConfig
impl Debug for TomlConfig
Source§impl Default for TomlConfig
impl Default for TomlConfig
Source§fn default() -> TomlConfig
fn default() -> TomlConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TomlConfigwhere
TomlConfig: Default,
impl<'de> Deserialize<'de> for TomlConfigwhere
TomlConfig: Default,
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 TomlConfig
impl RefUnwindSafe for TomlConfig
impl Send for TomlConfig
impl Sync for TomlConfig
impl Unpin for TomlConfig
impl UnsafeUnpin for TomlConfig
impl UnwindSafe for TomlConfig
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