pub struct UsageClient { /* private fields */ }Expand description
Monthly usage API.
Implementations§
Source§impl UsageClient
impl UsageClient
Sourcepub async fn get_monthly_api_key_usage(
&self,
params: MonthlyApiKeyUsageParams,
) -> Result<MonthlyApiKeyUsage>
pub async fn get_monthly_api_key_usage( &self, params: MonthlyApiKeyUsageParams, ) -> Result<MonthlyApiKeyUsage>
Gets monthly API key usage.
Sourcepub async fn get_monthly_api_key_usage_with(
&self,
params: MonthlyApiKeyUsageParams,
cancellation: Option<&CancellationToken>,
) -> Result<MonthlyApiKeyUsage>
pub async fn get_monthly_api_key_usage_with( &self, params: MonthlyApiKeyUsageParams, cancellation: Option<&CancellationToken>, ) -> Result<MonthlyApiKeyUsage>
Gets monthly API key usage with cancellation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UsageClient
impl !UnwindSafe for UsageClient
impl Freeze for UsageClient
impl Send for UsageClient
impl Sync for UsageClient
impl Unpin for UsageClient
impl UnsafeUnpin for UsageClient
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