pub struct CorpusConfig {
pub rules: Vec<CorpusRule>,
}Expand description
The directory → contract config: a flat ORDERED list of rules. Rule order is significant — a file is validated against the FIRST rule it matches.
Fields§
§rules: Vec<CorpusRule>the rules, in order; the first match wins
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CorpusConfig
impl !Send for CorpusConfig
impl !Sync for CorpusConfig
impl !UnwindSafe for CorpusConfig
impl Freeze for CorpusConfig
impl Unpin for CorpusConfig
impl UnsafeUnpin for CorpusConfig
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