pub struct CrawlArgs {
pub token: String,
pub chain: String,
pub period: Period,
pub holders_limit: u32,
pub format: OutputFormat,
pub no_charts: bool,
pub report: Option<PathBuf>,
pub yes: bool,
pub save: bool,
}Expand description
Arguments for the crawl command.
Fields§
§token: StringToken address or name/symbol to analyze.
Can be a contract address (0x…) or a token symbol/name. If a name is provided, matching tokens will be searched and you can select from the results.
chain: StringTarget blockchain network.
If not specified, the chain will be inferred from the address format or all chains will be searched for token names.
period: PeriodTime period for volume and price data.
holders_limit: u32Maximum number of holders to display.
format: OutputFormatOutput format for the results.
no_charts: boolDisable ASCII chart output.
report: Option<PathBuf>Generate and save a markdown report to the specified path.
yes: boolSkip interactive prompts (use first match for token search).
save: boolSave the selected token as an alias for future use.
Trait Implementations§
Source§impl Args for CrawlArgs
impl Args for CrawlArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for CrawlArgs
impl FromArgMatches for CrawlArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CrawlArgs
impl RefUnwindSafe for CrawlArgs
impl Send for CrawlArgs
impl Sync for CrawlArgs
impl Unpin for CrawlArgs
impl UnwindSafe for CrawlArgs
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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