Struct glean_core::PingRateLimit
source · pub struct PingRateLimit {
pub seconds_per_interval: u64,
pub pings_per_interval: u32,
}
Expand description
How to specify the rate at which pings may be uploaded before they are throttled.
Fields§
§seconds_per_interval: u64
Length of time in seconds of a ping uploading interval.
pings_per_interval: u32
Number of pings that may be uploaded in a ping uploading interval.
Trait Implementations§
source§impl Clone for PingRateLimit
impl Clone for PingRateLimit
source§fn clone(&self) -> PingRateLimit
fn clone(&self) -> PingRateLimit
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for PingRateLimit
impl Send for PingRateLimit
impl Sync for PingRateLimit
impl Unpin for PingRateLimit
impl UnwindSafe for PingRateLimit
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more