pub struct CustomRulesConfig {
pub version: String,
pub rules: Vec<YamlRule>,
}Expand description
YAML schema for custom rules file.
Fields§
§version: String§rules: Vec<YamlRule>Trait Implementations§
Source§impl Debug for CustomRulesConfig
impl Debug for CustomRulesConfig
Source§impl<'de> Deserialize<'de> for CustomRulesConfig
impl<'de> Deserialize<'de> for CustomRulesConfig
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 CustomRulesConfig
impl RefUnwindSafe for CustomRulesConfig
impl Send for CustomRulesConfig
impl Sync for CustomRulesConfig
impl Unpin for CustomRulesConfig
impl UnwindSafe for CustomRulesConfig
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