Struct datadog_api_client::datadogV1::api::api_usage_metering::GetHourlyUsageAttributionOptionalParams
source · #[non_exhaustive]pub struct GetHourlyUsageAttributionOptionalParams {
pub end_hr: Option<DateTime<Utc>>,
pub next_record_id: Option<String>,
pub tag_breakdown_keys: Option<String>,
pub include_descendants: Option<bool>,
}
Expand description
GetHourlyUsageAttributionOptionalParams is a struct for passing parameters to the method UsageMeteringAPI::get_hourly_usage_attribution
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.end_hr: Option<DateTime<Utc>>
Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage ending
before this hour.
next_record_id: Option<String>
List following results with a next_record_id provided in the previous query.
tag_breakdown_keys: Option<String>
Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
To see which tags are available, look for the value of tag_config_source
in the API response.
include_descendants: Option<bool>
Include child org usage in the response. Defaults to true
.
Implementations§
source§impl GetHourlyUsageAttributionOptionalParams
impl GetHourlyUsageAttributionOptionalParams
sourcepub fn end_hr(self, value: DateTime<Utc>) -> Self
pub fn end_hr(self, value: DateTime<Utc>) -> Self
Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage ending
before this hour.
sourcepub fn next_record_id(self, value: String) -> Self
pub fn next_record_id(self, value: String) -> Self
List following results with a next_record_id provided in the previous query.
sourcepub fn tag_breakdown_keys(self, value: String) -> Self
pub fn tag_breakdown_keys(self, value: String) -> Self
Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
To see which tags are available, look for the value of tag_config_source
in the API response.
sourcepub fn include_descendants(self, value: bool) -> Self
pub fn include_descendants(self, value: bool) -> Self
Include child org usage in the response. Defaults to true
.
Trait Implementations§
source§impl Clone for GetHourlyUsageAttributionOptionalParams
impl Clone for GetHourlyUsageAttributionOptionalParams
source§fn clone(&self) -> GetHourlyUsageAttributionOptionalParams
fn clone(&self) -> GetHourlyUsageAttributionOptionalParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetHourlyUsageAttributionOptionalParams
impl Default for GetHourlyUsageAttributionOptionalParams
source§fn default() -> GetHourlyUsageAttributionOptionalParams
fn default() -> GetHourlyUsageAttributionOptionalParams
Auto Trait Implementations§
impl Freeze for GetHourlyUsageAttributionOptionalParams
impl RefUnwindSafe for GetHourlyUsageAttributionOptionalParams
impl Send for GetHourlyUsageAttributionOptionalParams
impl Sync for GetHourlyUsageAttributionOptionalParams
impl Unpin for GetHourlyUsageAttributionOptionalParams
impl UnwindSafe for GetHourlyUsageAttributionOptionalParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)