pub struct GrepOutput {
pub files: Vec<GrepFileMatches>,
pub match_count: usize,
pub truncated: bool,
}Expand description
Output from grep search.
Fields§
§files: Vec<GrepFileMatches>Files with matches, sorted by modification time (newest first).
match_count: usizeTotal match count across all files.
truncated: boolWhether results were truncated due to limit.
Implementations§
Trait Implementations§
Source§impl Debug for GrepOutput
impl Debug for GrepOutput
Source§impl Serialize for GrepOutput
impl Serialize for GrepOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GrepOutput
impl RefUnwindSafe for GrepOutput
impl Send for GrepOutput
impl Sync for GrepOutput
impl Unpin for GrepOutput
impl UnwindSafe for GrepOutput
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