#[non_exhaustive]pub struct GetUsageBillableSummaryOptionalParams {
pub month: Option<DateTime<Utc>>,
pub include_connected_accounts: Option<bool>,
}
Expand description
GetUsageBillableSummaryOptionalParams is a struct for passing parameters to the method UsageMeteringAPI::get_usage_billable_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.month: Option<DateTime<Utc>>
Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for usage starting this month.
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 GetUsageBillableSummaryOptionalParams
impl GetUsageBillableSummaryOptionalParams
Sourcepub fn month(self, value: DateTime<Utc>) -> Self
pub fn month(self, value: DateTime<Utc>) -> Self
Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for usage starting this month.
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 GetUsageBillableSummaryOptionalParams
impl Clone for GetUsageBillableSummaryOptionalParams
Source§fn clone(&self) -> GetUsageBillableSummaryOptionalParams
fn clone(&self) -> GetUsageBillableSummaryOptionalParams
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 GetUsageBillableSummaryOptionalParams
impl Default for GetUsageBillableSummaryOptionalParams
Source§fn default() -> GetUsageBillableSummaryOptionalParams
fn default() -> GetUsageBillableSummaryOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetUsageBillableSummaryOptionalParams
impl RefUnwindSafe for GetUsageBillableSummaryOptionalParams
impl Send for GetUsageBillableSummaryOptionalParams
impl Sync for GetUsageBillableSummaryOptionalParams
impl Unpin for GetUsageBillableSummaryOptionalParams
impl UnwindSafe for GetUsageBillableSummaryOptionalParams
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