pub struct UsageApiKeyResponse {
pub api_key: ApiKeyInfo,
pub rate_limit: RateLimitInfo,
}Expand description
Usage response for API key authentication
Fields§
§api_key: ApiKeyInfoAPI key information
rate_limit: RateLimitInfoRate limit information
Trait Implementations§
Source§impl Clone for UsageApiKeyResponse
impl Clone for UsageApiKeyResponse
Source§fn clone(&self) -> UsageApiKeyResponse
fn clone(&self) -> UsageApiKeyResponse
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 UsageApiKeyResponse
impl Debug for UsageApiKeyResponse
Source§impl<'de> Deserialize<'de> for UsageApiKeyResponse
impl<'de> Deserialize<'de> for UsageApiKeyResponse
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 UsageApiKeyResponse
impl PartialEq for UsageApiKeyResponse
Source§impl Serialize for UsageApiKeyResponse
impl Serialize for UsageApiKeyResponse
impl Eq for UsageApiKeyResponse
impl StructuralPartialEq for UsageApiKeyResponse
Auto Trait Implementations§
impl Freeze for UsageApiKeyResponse
impl RefUnwindSafe for UsageApiKeyResponse
impl Send for UsageApiKeyResponse
impl Sync for UsageApiKeyResponse
impl Unpin for UsageApiKeyResponse
impl UnwindSafe for UsageApiKeyResponse
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