#[non_exhaustive]pub struct GetBillingDimensionMappingOptionalParams {
pub filter_month: Option<DateTime<Utc>>,
pub filter_view: Option<String>,
}
Expand description
GetBillingDimensionMappingOptionalParams is a struct for passing parameters to the method UsageMeteringAPI::get_billing_dimension_mapping
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.filter_month: Option<DateTime<Utc>>
Datetime in ISO-8601 format, UTC, and for mappings beginning this month. Defaults to the current month.
filter_view: Option<String>
String to specify whether to retrieve active billing dimension mappings for the contract or for all available mappings. Allowed views have the string active
or all
. Defaults to active
.
Implementations§
Source§impl GetBillingDimensionMappingOptionalParams
impl GetBillingDimensionMappingOptionalParams
Sourcepub fn filter_month(self, value: DateTime<Utc>) -> Self
pub fn filter_month(self, value: DateTime<Utc>) -> Self
Datetime in ISO-8601 format, UTC, and for mappings beginning this month. Defaults to the current month.
Sourcepub fn filter_view(self, value: String) -> Self
pub fn filter_view(self, value: String) -> Self
String to specify whether to retrieve active billing dimension mappings for the contract or for all available mappings. Allowed views have the string active
or all
. Defaults to active
.
Trait Implementations§
Source§impl Clone for GetBillingDimensionMappingOptionalParams
impl Clone for GetBillingDimensionMappingOptionalParams
Source§fn clone(&self) -> GetBillingDimensionMappingOptionalParams
fn clone(&self) -> GetBillingDimensionMappingOptionalParams
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 GetBillingDimensionMappingOptionalParams
impl Default for GetBillingDimensionMappingOptionalParams
Source§fn default() -> GetBillingDimensionMappingOptionalParams
fn default() -> GetBillingDimensionMappingOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetBillingDimensionMappingOptionalParams
impl RefUnwindSafe for GetBillingDimensionMappingOptionalParams
impl Send for GetBillingDimensionMappingOptionalParams
impl Sync for GetBillingDimensionMappingOptionalParams
impl Unpin for GetBillingDimensionMappingOptionalParams
impl UnwindSafe for GetBillingDimensionMappingOptionalParams
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