#[non_exhaustive]pub struct GetUsageSummaryOptionalParams {
pub end_month: Option<DateTime<Utc>>,
pub include_org_details: Option<bool>,
pub include_connected_accounts: Option<bool>,
}
Expand description
GetUsageSummaryOptionalParams is a struct for passing parameters to the method UsageMeteringAPI::get_usage_summary
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.end_month: Option<DateTime<Utc>>
Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for usage ending this month.
include_org_details: Option<bool>
Include usage summaries for each sub-org.
include_connected_accounts: Option<bool>
Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to false
.
Implementations§
Source§impl GetUsageSummaryOptionalParams
impl GetUsageSummaryOptionalParams
Sourcepub fn end_month(self, value: DateTime<Utc>) -> Self
pub fn end_month(self, value: DateTime<Utc>) -> Self
Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for usage ending this month.
Sourcepub fn include_org_details(self, value: bool) -> Self
pub fn include_org_details(self, value: bool) -> Self
Include usage summaries for each sub-org.
Sourcepub fn include_connected_accounts(self, value: bool) -> Self
pub fn include_connected_accounts(self, value: bool) -> Self
Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to false
.
Trait Implementations§
Source§impl Clone for GetUsageSummaryOptionalParams
impl Clone for GetUsageSummaryOptionalParams
Source§fn clone(&self) -> GetUsageSummaryOptionalParams
fn clone(&self) -> GetUsageSummaryOptionalParams
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 Default for GetUsageSummaryOptionalParams
impl Default for GetUsageSummaryOptionalParams
Source§fn default() -> GetUsageSummaryOptionalParams
fn default() -> GetUsageSummaryOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetUsageSummaryOptionalParams
impl RefUnwindSafe for GetUsageSummaryOptionalParams
impl Send for GetUsageSummaryOptionalParams
impl Sync for GetUsageSummaryOptionalParams
impl Unpin for GetUsageSummaryOptionalParams
impl UnwindSafe for GetUsageSummaryOptionalParams
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