pub struct GrepSearchInput {Show 14 fields
pub pattern: String,
pub path: Option<String>,
pub glob: Option<String>,
pub output_mode: Option<GrepOutputMode>,
pub before: Option<usize>,
pub after: Option<usize>,
pub context_short: Option<usize>,
pub context: Option<usize>,
pub line_numbers: Option<bool>,
pub case_insensitive: Option<bool>,
pub file_type: Option<String>,
pub head_limit: Option<usize>,
pub offset: Option<usize>,
pub multiline: Option<bool>,
}Fields§
§pattern: String§path: Option<String>§glob: Option<String>§output_mode: Option<GrepOutputMode>§before: Option<usize>§after: Option<usize>§context_short: Option<usize>§context: Option<usize>§line_numbers: Option<bool>§case_insensitive: Option<bool>§file_type: Option<String>§head_limit: Option<usize>§offset: Option<usize>§multiline: Option<bool>Trait Implementations§
Source§impl Clone for GrepSearchInput
impl Clone for GrepSearchInput
Source§fn clone(&self) -> GrepSearchInput
fn clone(&self) -> GrepSearchInput
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 GrepSearchInput
impl Debug for GrepSearchInput
Source§impl<'de> Deserialize<'de> for GrepSearchInput
impl<'de> Deserialize<'de> for GrepSearchInput
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 GrepSearchInput
impl PartialEq for GrepSearchInput
Source§impl Serialize for GrepSearchInput
impl Serialize for GrepSearchInput
impl Eq for GrepSearchInput
impl StructuralPartialEq for GrepSearchInput
Auto Trait Implementations§
impl Freeze for GrepSearchInput
impl RefUnwindSafe for GrepSearchInput
impl Send for GrepSearchInput
impl Sync for GrepSearchInput
impl Unpin for GrepSearchInput
impl UnsafeUnpin for GrepSearchInput
impl UnwindSafe for GrepSearchInput
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