pub enum RuleCode {
MGC001,
MGC002,
MGC003,
MGC004,
}Variants§
MGC001
Dead file path or missing script reference in agent instructions
MGC002
Semantic contradiction between two conflicting directives
MGC003
Volatile instruction header breaking prompt prefix cache
MGC004
Redundant or duplicate instruction wasting agent context
Implementations§
Trait Implementations§
impl Copy for RuleCode
Source§impl<'de> Deserialize<'de> for RuleCode
impl<'de> Deserialize<'de> for RuleCode
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
impl Eq for RuleCode
impl StructuralPartialEq for RuleCode
Auto Trait Implementations§
impl Freeze for RuleCode
impl RefUnwindSafe for RuleCode
impl Send for RuleCode
impl Sync for RuleCode
impl Unpin for RuleCode
impl UnsafeUnpin for RuleCode
impl UnwindSafe for RuleCode
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