pub struct GetApiUsageParams {
pub format: Option<String>,
pub delimiter: Option<String>,
pub timezone: Option<String>,
}Expand description
struct for passing parameters to the method get_api_usage
Fields§
§format: Option<String>Output format
delimiter: Option<String>Specify the delimiter used when downloading the CSV file
timezone: Option<String>Timezone at which output datetime will be displayed. Supports:
- 1.
UTCfor datetime at universal UTC standard - 2. Timezone name according to the IANA Time Zone Database. E.g.
America/New_York,Asia/Singapore. Full list of timezones can be found <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="blank">here.
Implementations§
Source§impl GetApiUsageParams
impl GetApiUsageParams
Sourcepub fn builder() -> GetApiUsageParamsBuilder
pub fn builder() -> GetApiUsageParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetApiUsageParams
impl Clone for GetApiUsageParams
Source§fn clone(&self) -> GetApiUsageParams
fn clone(&self) -> GetApiUsageParams
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 GetApiUsageParams
impl Debug for GetApiUsageParams
Source§impl Default for GetApiUsageParams
impl Default for GetApiUsageParams
Source§fn default() -> GetApiUsageParams
fn default() -> GetApiUsageParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetApiUsageParams
impl<'de> Deserialize<'de> for GetApiUsageParams
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
Auto Trait Implementations§
impl Freeze for GetApiUsageParams
impl RefUnwindSafe for GetApiUsageParams
impl Send for GetApiUsageParams
impl Sync for GetApiUsageParams
impl Unpin for GetApiUsageParams
impl UnwindSafe for GetApiUsageParams
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