pub struct SelectorsCommand {
pub selectors: Vec<String>,
pub data: Vec<String>,
pub accessor: Option<String>,
}
Expand description
Lists all available selectors for the given input of component queries or partial selectors.
Fields§
§selectors: Vec<String>
component query, component selector, or component and tree selector. Minimum: 1 unless
--component
is set. When --component
is provided then the selectors should be tree
selectors, otherwise they can be component selectors or component and tree selectors.
Full selectors (including a property segment) are allowed but not informative.
data: Vec<String>
tree selectors to splice onto a component query specified as a positional argument
For example, show foo.cm --data root:bar
becomes the selector path/to/foo:root:bar
.
accessor: Option<String>
A string specifying what fuchsia.diagnostics.ArchiveAccessor
to connect to.
This can be copied from the output of ffx inspect list-accessors
.
The selector will be in the form of:
Trait Implementations§
Source§impl ArgsInfo for SelectorsCommand
impl ArgsInfo for SelectorsCommand
Source§fn get_args_info() -> CommandInfoWithArgs
fn get_args_info() -> CommandInfoWithArgs
§fn get_subcommands() -> Vec<SubCommandInfo<'static>>
fn get_subcommands() -> Vec<SubCommandInfo<'static>>
Source§impl Command for SelectorsCommand
impl Command for SelectorsCommand
Source§impl Debug for SelectorsCommand
impl Debug for SelectorsCommand
Source§impl FromArgs for SelectorsCommand
impl FromArgs for SelectorsCommand
Source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
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>
Source§impl PartialEq for SelectorsCommand
impl PartialEq for SelectorsCommand
Source§impl SubCommand for SelectorsCommand
impl SubCommand for SelectorsCommand
impl StructuralPartialEq for SelectorsCommand
Auto Trait Implementations§
impl Freeze for SelectorsCommand
impl RefUnwindSafe for SelectorsCommand
impl Send for SelectorsCommand
impl Sync for SelectorsCommand
impl Unpin for SelectorsCommand
impl UnwindSafe for SelectorsCommand
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
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>
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>
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