pub struct DefaultRuleSet {
pub title: String,
pub description: String,
pub version: String,
pub rules: Vec<DefaultRule>,
}Fields§
§title: String§description: String§version: String§rules: Vec<DefaultRule>Trait Implementations§
Source§impl Clone for DefaultRuleSet
impl Clone for DefaultRuleSet
Source§fn clone(&self) -> DefaultRuleSet
fn clone(&self) -> DefaultRuleSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefaultRuleSet
impl Debug for DefaultRuleSet
Source§impl<'de> Deserialize<'de> for DefaultRuleSet
impl<'de> Deserialize<'de> for DefaultRuleSet
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 DefaultRuleSet
impl RefUnwindSafe for DefaultRuleSet
impl Send for DefaultRuleSet
impl Sync for DefaultRuleSet
impl Unpin for DefaultRuleSet
impl UnsafeUnpin for DefaultRuleSet
impl UnwindSafe for DefaultRuleSet
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