pub struct QueryFindCommand {
pub symbol: String,
pub deps: bool,
pub exact: bool,
pub limit: usize,
pub detail_offset: usize,
}Expand description
find symbol across namespaces (fuzzy match by default; use –exact for precise match)
Fields§
§symbol: Stringsymbol name or pattern to search for (fuzzy match by default)
deps: boolinclude dependency namespaces in search
exact: boolexact match: only match definitions with this exact name
limit: usizemaximum number of results (default 20)
detail_offset: usizestart index for detailed display window (3 detailed items)
Trait Implementations§
Source§impl Clone for QueryFindCommand
impl Clone for QueryFindCommand
Source§impl Debug for QueryFindCommand
impl Debug for QueryFindCommand
Source§impl FromArgs for QueryFindCommand
impl FromArgs for QueryFindCommand
Source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
Source§fn redact_arg_values(
__cmd_name: &[&str],
__args: &[&str],
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( __cmd_name: &[&str], __args: &[&str], ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
Source§impl PartialEq for QueryFindCommand
impl PartialEq for QueryFindCommand
impl StructuralPartialEq for QueryFindCommand
Source§impl SubCommand for QueryFindCommand
impl SubCommand for QueryFindCommand
Source§const COMMAND: &'static CommandInfo
const COMMAND: &'static CommandInfo
Information about the subcommand.
Auto Trait Implementations§
impl Forget for QueryFindCommand
impl Freeze for QueryFindCommand
impl Move for QueryFindCommand
impl RefUnwindSafe for QueryFindCommand
impl Send for QueryFindCommandwhere
RawVecInner: Send,
impl Sync for QueryFindCommandwhere
RawVecInner: Sync,
impl Unpin for QueryFindCommand
impl UnsafeUnpin for QueryFindCommand
impl UnwindSafe for QueryFindCommandwhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SubCommands for Twhere
T: SubCommand,
impl<T> SubCommands for Twhere
T: SubCommand,
Source§const COMMANDS: &'static [&'static CommandInfo<'static>]
const COMMANDS: &'static [&'static CommandInfo<'static>]
Info for the commands.
Source§fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
Get a list of commands that are discovered at runtime.