pub struct GetServiceLevelUsageParams {
pub product_id: Option<String>,
pub service: Option<String>,
pub usage_type_name: 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§
§product_id: Option<String>
The product identifier for the metrics returned (e.g., cdn_usage
). This should be used along with usage_type_name
.
service: Option<String>
The service identifier for the metrics being requested.
usage_type_name: Option<String>
The usage type name for the metrics returned (e.g., North America Requests
). This should be used along with product_id
.
start_month: Option<String>
§end_month: Option<String>
§limit: Option<String>
Number of results per page. The maximum is 10000.
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 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 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