pub struct GrepParams {
pub workspace_root: String,
pub pattern: String,
pub kinds: Option<Vec<String>>,
pub case_sensitive: bool,
pub path_pattern: Option<String>,
pub exclude_patterns: Vec<String>,
pub limit: u32,
}Fields§
§workspace_root: String§pattern: String§kinds: Option<Vec<String>>§case_sensitive: bool§path_pattern: Option<String>§exclude_patterns: Vec<String>§limit: u32Trait Implementations§
Source§impl Clone for GrepParams
impl Clone for GrepParams
Source§fn clone(&self) -> GrepParams
fn clone(&self) -> GrepParams
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 GrepParams
impl Debug for GrepParams
Source§impl<'de> Deserialize<'de> for GrepParams
impl<'de> Deserialize<'de> for GrepParams
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
Auto Trait Implementations§
impl Freeze for GrepParams
impl RefUnwindSafe for GrepParams
impl Send for GrepParams
impl Sync for GrepParams
impl Unpin for GrepParams
impl UnsafeUnpin for GrepParams
impl UnwindSafe for GrepParams
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