pub struct RuleComparison {
pub original: Rule,
pub updated: Rule,
pub changed_fields: Vec<String>,
pub changes: ComparisonDetails,
}Expand description
Detailed comparison between two rule versions
Fields§
§original: RuleOriginal rule
updated: RuleUpdated rule
changed_fields: Vec<String>Fields that changed
changes: ComparisonDetailsDetailed changes
Trait Implementations§
Source§impl Clone for RuleComparison
impl Clone for RuleComparison
Source§fn clone(&self) -> RuleComparison
fn clone(&self) -> RuleComparison
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 RuleComparison
impl Debug for RuleComparison
Source§impl<'de> Deserialize<'de> for RuleComparison
impl<'de> Deserialize<'de> for RuleComparison
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 RuleComparison
impl RefUnwindSafe for RuleComparison
impl Send for RuleComparison
impl Sync for RuleComparison
impl Unpin for RuleComparison
impl UnwindSafe for RuleComparison
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