pub enum SearchFormat {
Summary,
Text,
Json,
}Variants§
Summary
Compact human-readable summary (default)
Text
Detailed text block per hit, with byte range and highlighted snippet
Json
JSON envelope with query and full hit list
Trait Implementations§
Source§impl Clone for SearchFormat
impl Clone for SearchFormat
Source§fn clone(&self) -> SearchFormat
fn clone(&self) -> SearchFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SearchFormat
Source§impl Debug for SearchFormat
impl Debug for SearchFormat
Source§impl ValueEnum for SearchFormat
impl ValueEnum for SearchFormat
Auto Trait Implementations§
impl Freeze for SearchFormat
impl RefUnwindSafe for SearchFormat
impl Send for SearchFormat
impl Sync for SearchFormat
impl Unpin for SearchFormat
impl UnsafeUnpin for SearchFormat
impl UnwindSafe for SearchFormat
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