pub struct GetUsageRequest {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
}Expand description
Parameters for the account usage methods (get_usage, get_usage_by_*).
Both bounds are optional; omit for account-to-date totals.
Fields§
§start_time: Option<i64>Start of the query window (Unix timestamp).
end_time: Option<i64>End of the query window (Unix timestamp).
Trait Implementations§
Source§impl Clone for GetUsageRequest
impl Clone for GetUsageRequest
Source§fn clone(&self) -> GetUsageRequest
fn clone(&self) -> GetUsageRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetUsageRequest
impl Debug for GetUsageRequest
Source§impl Default for GetUsageRequest
impl Default for GetUsageRequest
Source§fn default() -> GetUsageRequest
fn default() -> GetUsageRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetUsageRequest
impl RefUnwindSafe for GetUsageRequest
impl Send for GetUsageRequest
impl Sync for GetUsageRequest
impl Unpin for GetUsageRequest
impl UnsafeUnpin for GetUsageRequest
impl UnwindSafe for GetUsageRequest
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