pub struct VersionChanges {
pub previous_pattern: String,
pub new_pattern: String,
pub previous_action: String,
pub new_action: String,
pub previous_confidence: f32,
pub new_confidence: f32,
}Expand description
Changes between rule versions
Fields§
§previous_pattern: StringPrevious pattern
new_pattern: StringNew pattern
previous_action: StringPrevious action
new_action: StringNew action
previous_confidence: f32Previous confidence
new_confidence: f32New confidence
Trait Implementations§
Source§impl Clone for VersionChanges
impl Clone for VersionChanges
Source§fn clone(&self) -> VersionChanges
fn clone(&self) -> VersionChanges
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 moreAuto Trait Implementations§
impl Freeze for VersionChanges
impl RefUnwindSafe for VersionChanges
impl Send for VersionChanges
impl Sync for VersionChanges
impl Unpin for VersionChanges
impl UnwindSafe for VersionChanges
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