pub struct Correction {
pub from: String,
pub to: String,
}Expand description
A typo or alias fix applied while understanding a query (shown as “showing results for …”).
Fields§
§from: String§to: StringTrait Implementations§
Source§impl Clone for Correction
impl Clone for Correction
Source§impl Debug for Correction
impl Debug for Correction
Source§impl Default for Correction
impl Default for Correction
Source§impl<'de> Deserialize<'de> for Correctionwhere
Correction: Default,
impl<'de> Deserialize<'de> for Correctionwhere
Correction: Default,
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
impl Eq for Correction
Source§impl PartialEq for Correction
impl PartialEq for Correction
Source§impl Serialize for Correction
impl Serialize for Correction
impl StructuralPartialEq for Correction
Auto Trait Implementations§
impl Forget for Correction
impl Freeze for Correction
impl Move for Correction
impl RefUnwindSafe for Correction
impl Send for Correctionwhere
RawVecInner: Send,
impl Sync for Correctionwhere
RawVecInner: Sync,
impl Unpin for Correction
impl UnsafeUnpin for Correction
impl UnwindSafe for Correctionwhere
RawVecInner: UnwindSafe,
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