Enum rg::args::OutputKind
source · enum OutputKind {
Standard,
Summary,
JSON,
}
Expand description
The output format. Generally, this corresponds to the printer that ripgrep uses to show search results.
Variants§
Standard
Classic grep-like or ack-like format.
Summary
Show matching files and possibly the number of matches in each file.
JSON
Emit match information in the JSON Lines format.
Trait Implementations§
source§impl Clone for OutputKind
impl Clone for OutputKind
source§fn clone(&self) -> OutputKind
fn clone(&self) -> OutputKind
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 OutputKind
impl Debug for OutputKind
source§impl PartialEq<OutputKind> for OutputKind
impl PartialEq<OutputKind> for OutputKind
source§fn eq(&self, other: &OutputKind) -> bool
fn eq(&self, other: &OutputKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutputKind
impl Eq for OutputKind
impl StructuralEq for OutputKind
impl StructuralPartialEq for OutputKind
Auto Trait Implementations§
impl RefUnwindSafe for OutputKind
impl Send for OutputKind
impl Sync for OutputKind
impl Unpin for OutputKind
impl UnwindSafe for OutputKind
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