#[non_exhaustive]pub struct GetDailyCustomReportsOptionalParams {
pub page_size: Option<i64>,
pub page_number: Option<i64>,
pub sort_dir: Option<UsageSortDirection>,
pub sort: Option<UsageSort>,
}
Expand description
GetDailyCustomReportsOptionalParams is a struct for passing parameters to the method UsageMeteringAPI::get_daily_custom_reports
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.page_size: Option<i64>
The number of files to return in the response. [default=60]
.
page_number: Option<i64>
The identifier of the first page to return. This parameter is used for the pagination feature [default=0]
.
sort_dir: Option<UsageSortDirection>
The direction to sort by: [desc, asc]
.
sort: Option<UsageSort>
The field to sort by: [computed_on, size, start_date, end_date]
.
Implementations§
Source§impl GetDailyCustomReportsOptionalParams
impl GetDailyCustomReportsOptionalParams
Sourcepub fn page_size(self, value: i64) -> Self
pub fn page_size(self, value: i64) -> Self
The number of files to return in the response. [default=60]
.
Sourcepub fn page_number(self, value: i64) -> Self
pub fn page_number(self, value: i64) -> Self
The identifier of the first page to return. This parameter is used for the pagination feature [default=0]
.
Sourcepub fn sort_dir(self, value: UsageSortDirection) -> Self
pub fn sort_dir(self, value: UsageSortDirection) -> Self
The direction to sort by: [desc, asc]
.
Trait Implementations§
Source§impl Clone for GetDailyCustomReportsOptionalParams
impl Clone for GetDailyCustomReportsOptionalParams
Source§fn clone(&self) -> GetDailyCustomReportsOptionalParams
fn clone(&self) -> GetDailyCustomReportsOptionalParams
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 GetDailyCustomReportsOptionalParams
impl Default for GetDailyCustomReportsOptionalParams
Source§fn default() -> GetDailyCustomReportsOptionalParams
fn default() -> GetDailyCustomReportsOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetDailyCustomReportsOptionalParams
impl RefUnwindSafe for GetDailyCustomReportsOptionalParams
impl Send for GetDailyCustomReportsOptionalParams
impl Sync for GetDailyCustomReportsOptionalParams
impl Unpin for GetDailyCustomReportsOptionalParams
impl UnwindSafe for GetDailyCustomReportsOptionalParams
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