pub struct Arg<'a> {
pub pattern: &'a str,
pub files: &'a [&'a str],
pub all: bool,
pub text: bool,
pub follow: bool,
pub ignorecase: bool,
pub fileswithmatches: bool,
pub line: bool,
pub user: bool,
pub date: bool,
pub include: &'a [&'a str],
pub exclude: &'a [&'a str],
}
Fields§
§pattern: &'a str
§files: &'a [&'a str]
§all: bool
§text: bool
§follow: bool
§ignorecase: bool
§fileswithmatches: bool
§line: bool
§user: bool
§date: bool
§include: &'a [&'a str]
§exclude: &'a [&'a str]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Arg<'a>
impl<'a> RefUnwindSafe for Arg<'a>
impl<'a> Send for Arg<'a>
impl<'a> Sync for Arg<'a>
impl<'a> Unpin for Arg<'a>
impl<'a> UnwindSafe for Arg<'a>
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