pub struct TyposJsonLine {
pub type_id: String,
pub path: String,
pub line_num: u32,
pub byte_offset: u32,
pub typo: String,
pub corrections: Vec<String>,
}
Fields§
§type_id: String
§path: String
§line_num: u32
§byte_offset: u32
§typo: String
§corrections: Vec<String>
Implementations§
Source§impl TyposJsonLine
impl TyposJsonLine
pub fn is_file_excluded(&self, cli: &Cli) -> bool
pub fn is_typo_excluded(&self, cli: &Cli) -> bool
pub fn is_correction_excluded(&self, cli: &Cli) -> bool
pub fn is_excluded(&self, cli: &Cli) -> bool
Trait Implementations§
Source§impl Clone for TyposJsonLine
impl Clone for TyposJsonLine
Source§fn clone(&self) -> TyposJsonLine
fn clone(&self) -> TyposJsonLine
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 TyposJsonLine
impl Debug for TyposJsonLine
Source§impl<'de> Deserialize<'de> for TyposJsonLine
impl<'de> Deserialize<'de> for TyposJsonLine
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 TyposJsonLine
impl RefUnwindSafe for TyposJsonLine
impl Send for TyposJsonLine
impl Sync for TyposJsonLine
impl Unpin for TyposJsonLine
impl UnwindSafe for TyposJsonLine
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