pub struct RulePackDiffEntry {
pub rule_id: String,
pub uri: String,
pub line: u32,
pub change: String,
}Expand description
Diff entry returned by max/rulePackDiff.
Fields§
§rule_id: StringRule ID of the changed finding.
uri: StringFile URI.
line: u32Line number (0-based).
change: String"added", "removed", or "unchanged".
Trait Implementations§
Source§impl Clone for RulePackDiffEntry
impl Clone for RulePackDiffEntry
Source§fn clone(&self) -> RulePackDiffEntry
fn clone(&self) -> RulePackDiffEntry
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 RulePackDiffEntry
impl Debug for RulePackDiffEntry
Source§impl<'de> Deserialize<'de> for RulePackDiffEntry
impl<'de> Deserialize<'de> for RulePackDiffEntry
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 RulePackDiffEntry
impl RefUnwindSafe for RulePackDiffEntry
impl Send for RulePackDiffEntry
impl Sync for RulePackDiffEntry
impl Unpin for RulePackDiffEntry
impl UnsafeUnpin for RulePackDiffEntry
impl UnwindSafe for RulePackDiffEntry
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