pub struct SearchOpts {Show 21 fields
pub queries: Vec<String>,
pub is_regex: bool,
pub and_mode: bool,
pub role: Option<String>,
pub tool: Option<String>,
pub project: Option<String>,
pub after: Option<String>,
pub before: Option<String>,
pub branch: Option<String>,
pub file: Option<String>,
pub tool_input: bool,
pub thinking_only: bool,
pub no_thinking: bool,
pub max_results: usize,
pub stdout_md: bool,
pub md_file: Option<String>,
pub count_mode: bool,
pub summary_mode: bool,
pub json_mode: bool,
pub include_smc: bool,
pub exclude_session: Option<String>,
}Fields§
§queries: Vec<String>§is_regex: bool§and_mode: bool§role: Option<String>§tool: Option<String>§project: Option<String>§after: Option<String>§before: Option<String>§branch: Option<String>§file: Option<String>§tool_input: bool§thinking_only: bool§no_thinking: bool§max_results: usize§stdout_md: bool§md_file: Option<String>§count_mode: bool§summary_mode: bool§json_mode: bool§include_smc: bool§exclude_session: Option<String>Implementations§
Source§impl SearchOpts
impl SearchOpts
pub fn query_display(&self) -> String
Trait Implementations§
Source§impl Default for SearchOpts
impl Default for SearchOpts
Source§fn default() -> SearchOpts
fn default() -> SearchOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchOpts
impl RefUnwindSafe for SearchOpts
impl Send for SearchOpts
impl Sync for SearchOpts
impl Unpin for SearchOpts
impl UnwindSafe for SearchOpts
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more