pub struct KeyUsage {
pub message: String,
pub current_month: CurrentMonthUsage,
}Expand description
Monthly usage for the API key
Fields§
§message: Stringlimited plan if the number of requests is limited in the current plan or unlimited plan
if there is no limit on the number of requests
current_month: CurrentMonthUsageRequests made and left stats
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyUsage
impl<'de> Deserialize<'de> for KeyUsage
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 KeyUsage
impl RefUnwindSafe for KeyUsage
impl Send for KeyUsage
impl Sync for KeyUsage
impl Unpin for KeyUsage
impl UnwindSafe for KeyUsage
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