pub struct RulesetConfigInYaml {
pub rule: Option<String>,
pub ruleset: Option<String>,
pub group: String,
pub interval: Option<u32>,
pub import: Option<String>,
}Expand description
Ruleset configuration
Fields§
§rule: Option<String>§ruleset: Option<String>§group: String§interval: Option<u32>§import: Option<String>Trait Implementations§
Source§impl Clone for RulesetConfigInYaml
impl Clone for RulesetConfigInYaml
Source§fn clone(&self) -> RulesetConfigInYaml
fn clone(&self) -> RulesetConfigInYaml
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 RulesetConfigInYaml
impl Debug for RulesetConfigInYaml
Source§impl Default for RulesetConfigInYaml
impl Default for RulesetConfigInYaml
Source§fn default() -> RulesetConfigInYaml
fn default() -> RulesetConfigInYaml
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RulesetConfigInYamlwhere
RulesetConfigInYaml: Default,
impl<'de> Deserialize<'de> for RulesetConfigInYamlwhere
RulesetConfigInYaml: 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 RulesetConfigInYaml
impl RefUnwindSafe for RulesetConfigInYaml
impl Send for RulesetConfigInYaml
impl Sync for RulesetConfigInYaml
impl Unpin for RulesetConfigInYaml
impl UnwindSafe for RulesetConfigInYaml
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