pub struct GetServiceLevelUsageParams {
pub product_id: String,
pub usage_type_name: 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: String
The product identifier for the metrics returned (e.g., cdn_usage
). This field is not required for CSV requests.
usage_type_name: String
The usage type name for the metrics returned (e.g., North America Requests
). This field is not required for CSV requests.
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