pub struct StatsAggregateArgs {
pub site: String,
pub metrics: Vec<String>,
pub period: Option<String>,
pub date: Option<String>,
pub filters: Vec<String>,
pub properties: Vec<String>,
pub compare: Option<String>,
pub interval: Option<String>,
pub sort: Option<String>,
pub limit: Option<u32>,
pub page: Option<u32>,
}Fields§
§site: StringSite domain or site_id to query.
metrics: Vec<String>Metrics to include (repeatable).
period: Option<String>Period string (e.g., 7d, 30d, month, custom).
date: Option<String>Custom date range (YYYY-MM-DD,YYYY-MM-DD).
filters: Vec<String>Filters to apply (repeatable, Plausible filter syntax).
properties: Vec<String>Event properties to include (repeatable).
compare: Option<String>Compare parameter (e.g., previous_period).
interval: Option<String>Interval parameter (e.g., date, week).
sort: Option<String>Sort parameter for breakdowns.
limit: Option<u32>Limit number of rows returned.
page: Option<u32>Page number (for paginated queries).
Trait Implementations§
Source§impl Args for StatsAggregateArgs
impl Args for StatsAggregateArgs
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 Clone for StatsAggregateArgs
impl Clone for StatsAggregateArgs
Source§fn clone(&self) -> StatsAggregateArgs
fn clone(&self) -> StatsAggregateArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatsAggregateArgs
impl Debug for StatsAggregateArgs
Source§impl Default for StatsAggregateArgs
impl Default for StatsAggregateArgs
Source§fn default() -> StatsAggregateArgs
fn default() -> StatsAggregateArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for StatsAggregateArgs
impl FromArgMatches for StatsAggregateArgs
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 StatsAggregateArgs
impl RefUnwindSafe for StatsAggregateArgs
impl Send for StatsAggregateArgs
impl Sync for StatsAggregateArgs
impl Unpin for StatsAggregateArgs
impl UnwindSafe for StatsAggregateArgs
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