pub struct RulePackDescriptor {
pub id: String,
pub version: String,
pub rule_ids: Vec<String>,
pub depends_on: Vec<String>,
pub active_rule_count: usize,
}Expand description
Rule-pack descriptor returned by max/rulePacks.
Fields§
§id: StringPack identifier.
version: StringPack semantic version.
rule_ids: Vec<String>Rule IDs contained in this pack.
depends_on: Vec<String>Packs this pack depends on.
active_rule_count: usizeNumber of rules that fired in the last workspace scan.
Trait Implementations§
Source§impl Clone for RulePackDescriptor
impl Clone for RulePackDescriptor
Source§fn clone(&self) -> RulePackDescriptor
fn clone(&self) -> RulePackDescriptor
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 RulePackDescriptor
impl Debug for RulePackDescriptor
Source§impl<'de> Deserialize<'de> for RulePackDescriptor
impl<'de> Deserialize<'de> for RulePackDescriptor
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 RulePackDescriptor
impl RefUnwindSafe for RulePackDescriptor
impl Send for RulePackDescriptor
impl Sync for RulePackDescriptor
impl Unpin for RulePackDescriptor
impl UnsafeUnpin for RulePackDescriptor
impl UnwindSafe for RulePackDescriptor
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