pub struct StatsTimeseriesArgs {
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 StatsTimeseriesArgs
impl Args for StatsTimeseriesArgs
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 StatsTimeseriesArgs
impl Clone for StatsTimeseriesArgs
Source§fn clone(&self) -> StatsTimeseriesArgs
fn clone(&self) -> StatsTimeseriesArgs
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 StatsTimeseriesArgs
impl Debug for StatsTimeseriesArgs
Source§impl Default for StatsTimeseriesArgs
impl Default for StatsTimeseriesArgs
Source§fn default() -> StatsTimeseriesArgs
fn default() -> StatsTimeseriesArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for StatsTimeseriesArgs
impl FromArgMatches for StatsTimeseriesArgs
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 StatsTimeseriesArgs
impl RefUnwindSafe for StatsTimeseriesArgs
impl Send for StatsTimeseriesArgs
impl Sync for StatsTimeseriesArgs
impl Unpin for StatsTimeseriesArgs
impl UnwindSafe for StatsTimeseriesArgs
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