pub struct GrepSearchOutput {
pub mode: Option<GrepOutputMode>,
pub num_files: usize,
pub filenames: Vec<String>,
pub content: Option<String>,
pub num_lines: Option<usize>,
pub num_matches: Option<usize>,
pub applied_limit: Option<usize>,
pub applied_offset: Option<usize>,
}Fields§
§mode: Option<GrepOutputMode>§num_files: usize§filenames: Vec<String>§content: Option<String>§num_lines: Option<usize>§num_matches: Option<usize>§applied_limit: Option<usize>§applied_offset: Option<usize>Trait Implementations§
Source§impl Clone for GrepSearchOutput
impl Clone for GrepSearchOutput
Source§fn clone(&self) -> GrepSearchOutput
fn clone(&self) -> GrepSearchOutput
Returns a duplicate 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 GrepSearchOutput
impl Debug for GrepSearchOutput
Source§impl<'de> Deserialize<'de> for GrepSearchOutput
impl<'de> Deserialize<'de> for GrepSearchOutput
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
Source§impl PartialEq for GrepSearchOutput
impl PartialEq for GrepSearchOutput
Source§impl Serialize for GrepSearchOutput
impl Serialize for GrepSearchOutput
impl Eq for GrepSearchOutput
impl StructuralPartialEq for GrepSearchOutput
Auto Trait Implementations§
impl Freeze for GrepSearchOutput
impl RefUnwindSafe for GrepSearchOutput
impl Send for GrepSearchOutput
impl Sync for GrepSearchOutput
impl Unpin for GrepSearchOutput
impl UnsafeUnpin for GrepSearchOutput
impl UnwindSafe for GrepSearchOutput
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