#[non_exhaustive]pub struct UsageTopAvgMetricsPagination {
pub limit: Option<i64>,
pub next_record_id: Option<Option<String>>,
pub total_number_of_records: Option<Option<i64>>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The metadata for the current pagination.
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.limit: Option<i64>
Maximum amount of records to be returned.
next_record_id: Option<Option<String>>
The cursor to get the next results (if any). To make the next request, use the same parameters and add next_record_id
.
total_number_of_records: Option<Option<i64>>
Total number of records.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl UsageTopAvgMetricsPagination
impl UsageTopAvgMetricsPagination
pub fn new() -> UsageTopAvgMetricsPagination
pub fn limit(self, value: i64) -> Self
pub fn next_record_id(self, value: Option<String>) -> Self
pub fn total_number_of_records(self, value: Option<i64>) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for UsageTopAvgMetricsPagination
impl Clone for UsageTopAvgMetricsPagination
Source§fn clone(&self) -> UsageTopAvgMetricsPagination
fn clone(&self) -> UsageTopAvgMetricsPagination
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 Debug for UsageTopAvgMetricsPagination
impl Debug for UsageTopAvgMetricsPagination
Source§impl<'de> Deserialize<'de> for UsageTopAvgMetricsPagination
impl<'de> Deserialize<'de> for UsageTopAvgMetricsPagination
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UsageTopAvgMetricsPagination
impl PartialEq for UsageTopAvgMetricsPagination
Source§fn eq(&self, other: &UsageTopAvgMetricsPagination) -> bool
fn eq(&self, other: &UsageTopAvgMetricsPagination) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UsageTopAvgMetricsPagination
Auto Trait Implementations§
impl Freeze for UsageTopAvgMetricsPagination
impl RefUnwindSafe for UsageTopAvgMetricsPagination
impl Send for UsageTopAvgMetricsPagination
impl Sync for UsageTopAvgMetricsPagination
impl Unpin for UsageTopAvgMetricsPagination
impl UnwindSafe for UsageTopAvgMetricsPagination
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