pub struct KeylessQuota {
pub tier: CloudTier,
pub requests_remaining: i64,
pub pages_remaining: i64,
pub requests_per_day: i64,
pub pages_per_day: i64,
pub reset_at: String,
pub upgrade_url: Option<String>,
}Expand description
Remaining keyless allowance echoed back on keyless calls.
Fields§
§tier: CloudTierAlways CloudTier::Keyless.
requests_remaining: i64Keyless requests left in the current window.
pages_remaining: i64Keyless pages left in the current window.
requests_per_day: i64Daily request allowance.
pages_per_day: i64Daily page allowance.
reset_at: StringISO timestamp when the allowance refills.
upgrade_url: Option<String>Where to upgrade for a metered quota, if the server reported it.
Trait Implementations§
Source§impl Clone for KeylessQuota
impl Clone for KeylessQuota
Source§fn clone(&self) -> KeylessQuota
fn clone(&self) -> KeylessQuota
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 moreAuto Trait Implementations§
impl Freeze for KeylessQuota
impl RefUnwindSafe for KeylessQuota
impl Send for KeylessQuota
impl Sync for KeylessQuota
impl Unpin for KeylessQuota
impl UnsafeUnpin for KeylessQuota
impl UnwindSafe for KeylessQuota
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