pub struct SharedArgs {Show 21 fields
pub since: Option<String>,
pub until: Option<String>,
pub last: Option<u32>,
pub json: bool,
pub mode: CostMode,
pub debug: bool,
pub debug_samples: usize,
pub order: SortOrder,
pub breakdown: bool,
pub offline: bool,
pub no_offline: bool,
pub color: bool,
pub no_color: bool,
pub timezone: Option<String>,
pub jq: Option<String>,
pub config: Option<PathBuf>,
pub compact: bool,
pub single_thread: bool,
pub no_cost: bool,
pub pricing_overrides: BTreeMap<String, PricingOverride>,
pub pi_stores: Vec<NamedPiStore>,
}Fields§
§since: Option<String>§until: Option<String>§last: Option<u32>Number of most recent report periods to keep, resolved into since by
the binary once the report’s calendar unit is known.
json: bool§mode: CostMode§debug: bool§debug_samples: usize§order: SortOrder§breakdown: bool§offline: bool§no_offline: bool§color: bool§no_color: bool§timezone: Option<String>§jq: Option<String>§config: Option<PathBuf>§compact: bool§single_thread: bool§no_cost: bool§pricing_overrides: BTreeMap<String, PricingOverride>§pi_stores: Vec<NamedPiStore>Implementations§
pub fn with_defaults() -> Self
Trait Implementations§
Source§fn clone(&self) -> SharedArgs
fn clone(&self) -> SharedArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> SharedArgs
fn default() -> SharedArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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