pub struct ComparisonDetails {
pub pattern_changed: bool,
pub old_pattern: Option<String>,
pub new_pattern: Option<String>,
pub action_changed: bool,
pub old_action: Option<String>,
pub new_action: Option<String>,
pub confidence_changed: bool,
pub old_confidence: Option<f32>,
pub new_confidence: Option<f32>,
pub metadata_changed: bool,
pub old_metadata: Option<Value>,
pub new_metadata: Option<Value>,
}Expand description
Detailed comparison information
Fields§
§pattern_changed: boolPattern changed
old_pattern: Option<String>Old pattern
new_pattern: Option<String>New pattern
action_changed: boolAction changed
old_action: Option<String>Old action
new_action: Option<String>New action
confidence_changed: boolConfidence changed
old_confidence: Option<f32>Old confidence
new_confidence: Option<f32>New confidence
metadata_changed: boolMetadata changed
old_metadata: Option<Value>Old metadata
new_metadata: Option<Value>New metadata
Trait Implementations§
Source§impl Clone for ComparisonDetails
impl Clone for ComparisonDetails
Source§fn clone(&self) -> ComparisonDetails
fn clone(&self) -> ComparisonDetails
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 ComparisonDetails
impl Debug for ComparisonDetails
Source§impl<'de> Deserialize<'de> for ComparisonDetails
impl<'de> Deserialize<'de> for ComparisonDetails
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 ComparisonDetails
impl RefUnwindSafe for ComparisonDetails
impl Send for ComparisonDetails
impl Sync for ComparisonDetails
impl Unpin for ComparisonDetails
impl UnwindSafe for ComparisonDetails
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