pub struct VsCodeRules {Show 14 fields
pub skills: Option<bool>,
pub hooks: Option<bool>,
pub agents: Option<bool>,
pub memory: Option<bool>,
pub plugins: Option<bool>,
pub xml: Option<bool>,
pub mcp: Option<bool>,
pub imports: Option<bool>,
pub cross_platform: Option<bool>,
pub agents_md: Option<bool>,
pub copilot: Option<bool>,
pub cursor: Option<bool>,
pub prompt_engineering: Option<bool>,
pub disabled_rules: Option<Vec<String>>,
}Expand description
Rule category toggles from VS Code settings.
Maps to RuleConfig in agnix-core.
Fields§
§skills: Option<bool>Enable skills validation (AS-, CC-SK-)
hooks: Option<bool>Enable hooks validation (CC-HK-*)
agents: Option<bool>Enable agents validation (CC-AG-*)
memory: Option<bool>Enable memory validation (CC-MEM-*)
plugins: Option<bool>Enable plugins validation (CC-PL-*)
xml: Option<bool>Enable XML balance checking (XML-*)
mcp: Option<bool>Enable MCP validation (MCP-*)
imports: Option<bool>Enable import reference validation (REF-*)
cross_platform: Option<bool>Enable cross-platform validation (XP-*)
agents_md: Option<bool>Enable AGENTS.md validation (AGM-*)
copilot: Option<bool>Enable GitHub Copilot validation (COP-*)
cursor: Option<bool>Enable Cursor project rules validation (CUR-*)
prompt_engineering: Option<bool>Enable prompt engineering validation (PE-*)
disabled_rules: Option<Vec<String>>Explicitly disabled rules by ID
Trait Implementations§
Source§impl Clone for VsCodeRules
impl Clone for VsCodeRules
Source§fn clone(&self) -> VsCodeRules
fn clone(&self) -> VsCodeRules
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 VsCodeRules
impl Debug for VsCodeRules
Source§impl Default for VsCodeRules
impl Default for VsCodeRules
Source§fn default() -> VsCodeRules
fn default() -> VsCodeRules
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VsCodeRuleswhere
VsCodeRules: Default,
impl<'de> Deserialize<'de> for VsCodeRuleswhere
VsCodeRules: 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 VsCodeRules
impl RefUnwindSafe for VsCodeRules
impl Send for VsCodeRules
impl Sync for VsCodeRules
impl Unpin for VsCodeRules
impl UnsafeUnpin for VsCodeRules
impl UnwindSafe for VsCodeRules
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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