Struct grammalecte_client::SpellingError
source · pub struct SpellingError {
pub i: usize,
pub offset_start: usize,
pub offset_end: usize,
pub bad_word: String,
pub error_type: String,
}
Expand description
Spelling error information
Fields§
§i: usize
§offset_start: usize
§offset_end: usize
§bad_word: String
§error_type: String
Trait Implementations§
source§impl Clone for SpellingError
impl Clone for SpellingError
source§fn clone(&self) -> SpellingError
fn clone(&self) -> SpellingError
Returns a copy 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 SpellingError
impl Debug for SpellingError
source§impl<'de> Deserialize<'de> for SpellingError
impl<'de> Deserialize<'de> for SpellingError
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 RefUnwindSafe for SpellingError
impl Send for SpellingError
impl Sync for SpellingError
impl Unpin for SpellingError
impl UnwindSafe for SpellingError
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