pub struct CustomerCostParams<'a> { /* private fields */ }Expand description
Parameters for a Customer Costs query.
Implementations§
Source§impl<'a> CustomerCostParams<'a>
impl<'a> CustomerCostParams<'a>
Sourcepub const fn timeframe_start(self, timeframe_start: &'a OffsetDateTime) -> Self
pub const fn timeframe_start(self, timeframe_start: &'a OffsetDateTime) -> Self
The start of the returned range. If not specified this defaults to the billing period start date.
Sourcepub const fn timeframe_end(self, timeframe_end: &'a OffsetDateTime) -> Self
pub const fn timeframe_end(self, timeframe_end: &'a OffsetDateTime) -> Self
The end of the returned range. If unspecified will default to the billing period end date.
Sourcepub const fn view_mode(self, view_mode: CostViewMode) -> Self
pub const fn view_mode(self, view_mode: CostViewMode) -> Self
How costs should be broken down in the resultant day-by-day view.
Trait Implementations§
Source§impl<'a> Clone for CustomerCostParams<'a>
impl<'a> Clone for CustomerCostParams<'a>
Source§fn clone(&self) -> CustomerCostParams<'a>
fn clone(&self) -> CustomerCostParams<'a>
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<'a> Debug for CustomerCostParams<'a>
impl<'a> Debug for CustomerCostParams<'a>
Source§impl<'a> Default for CustomerCostParams<'a>
impl<'a> Default for CustomerCostParams<'a>
Source§fn default() -> CustomerCostParams<'a>
fn default() -> CustomerCostParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CustomerCostParams<'a>
impl<'a> RefUnwindSafe for CustomerCostParams<'a>
impl<'a> Send for CustomerCostParams<'a>
impl<'a> Sync for CustomerCostParams<'a>
impl<'a> Unpin for CustomerCostParams<'a>
impl<'a> UnwindSafe for CustomerCostParams<'a>
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