pub struct NormalizationChange {
pub rule: &'static str,
pub before: String,
pub after: String,
}Expand description
One observable normalization change.
This detailed form is returned only to the caller that owns the input text.
Observer events use NormalizationTraceSummary instead, so trace sinks do
not receive sensitive before/after text.
Fields§
§rule: &'static strStable name of the rule that made the change.
before: StringInput before the rule was applied.
after: StringOutput after the rule was applied.
Trait Implementations§
Source§impl Clone for NormalizationChange
impl Clone for NormalizationChange
Source§fn clone(&self) -> NormalizationChange
fn clone(&self) -> NormalizationChange
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 NormalizationChange
impl Debug for NormalizationChange
impl Eq for NormalizationChange
Source§impl PartialEq for NormalizationChange
impl PartialEq for NormalizationChange
impl StructuralPartialEq for NormalizationChange
Auto Trait Implementations§
impl Freeze for NormalizationChange
impl RefUnwindSafe for NormalizationChange
impl Send for NormalizationChange
impl Sync for NormalizationChange
impl Unpin for NormalizationChange
impl UnsafeUnpin for NormalizationChange
impl UnwindSafe for NormalizationChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).