pub struct GetServiceLevelUsageParams {
pub customer_id: String,
pub product_id: String,
pub usage_type_name: String,
pub time_granularity: String,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub start_month: Option<String>,
pub end_month: Option<String>,
pub limit: Option<String>,
pub cursor: Option<String>,
}Expand description
struct for passing parameters to the method get_service_level_usage
Fields§
§customer_id: StringAlphanumeric string identifying the customer.
product_id: StringThe product identifier for the metrics returned (e.g., cdn_usage). This field is not required for CSV requests.
usage_type_name: StringThe usage type name for the metrics returned (e.g., North America Requests). This field is not required for CSV requests.
time_granularity: String§start_date: Option<String>§end_date: Option<String>§start_month: Option<String>§end_month: Option<String>§limit: Option<String>Number of results per page. The maximum is 100.
cursor: Option<String>Cursor value from the next_cursor field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
Trait Implementations§
source§impl Clone for GetServiceLevelUsageParams
impl Clone for GetServiceLevelUsageParams
source§fn clone(&self) -> GetServiceLevelUsageParams
fn clone(&self) -> GetServiceLevelUsageParams
Returns a copy 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 GetServiceLevelUsageParams
impl Debug for GetServiceLevelUsageParams
source§impl Default for GetServiceLevelUsageParams
impl Default for GetServiceLevelUsageParams
source§fn default() -> GetServiceLevelUsageParams
fn default() -> GetServiceLevelUsageParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetServiceLevelUsageParams
impl RefUnwindSafe for GetServiceLevelUsageParams
impl Send for GetServiceLevelUsageParams
impl Sync for GetServiceLevelUsageParams
impl Unpin for GetServiceLevelUsageParams
impl UnwindSafe for GetServiceLevelUsageParams
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)