pub struct GrepMatch {
pub path: String,
pub line_number: usize,
pub line_content: String,
pub match_start: usize,
pub match_end: usize,
}Expand description
Match result from grep operation
Fields§
§path: String§line_number: usize§line_content: String§match_start: usize§match_end: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for GrepMatch
impl<'de> Deserialize<'de> for GrepMatch
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 GrepMatch
impl RefUnwindSafe for GrepMatch
impl Send for GrepMatch
impl Sync for GrepMatch
impl Unpin for GrepMatch
impl UnwindSafe for GrepMatch
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