pub struct GetStatusRatelimit200Response {
pub accepts: Option<i32>,
pub in_flight: Option<i32>,
pub last_update: Option<String>,
pub limit: Option<i32>,
pub load: Option<f64>,
pub min_rtt: Option<f64>,
pub rejects: Option<i32>,
pub rtt: Option<f64>,
pub throttled: Option<i32>,
}Fields§
§accepts: Option<i32>Total number of accepted requests
in_flight: Option<i32>Number of current in-flight requests
last_update: Option<String>Last update time of the status
limit: Option<i32>Current concurrency limit
load: Option<f64>Calculated system load (in_flight / limit)
min_rtt: Option<f64>Minimum observed RTT in milliseconds
rejects: Option<i32>Total number of rejected requests
rtt: Option<f64>Smoothed RTT in milliseconds
throttled: Option<i32>Total number of throttled requests
Implementations§
Trait Implementations§
Source§impl Clone for GetStatusRatelimit200Response
impl Clone for GetStatusRatelimit200Response
Source§fn clone(&self) -> GetStatusRatelimit200Response
fn clone(&self) -> GetStatusRatelimit200Response
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 Default for GetStatusRatelimit200Response
impl Default for GetStatusRatelimit200Response
Source§fn default() -> GetStatusRatelimit200Response
fn default() -> GetStatusRatelimit200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetStatusRatelimit200Response
impl<'de> Deserialize<'de> for GetStatusRatelimit200Response
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 GetStatusRatelimit200Response
impl PartialEq for GetStatusRatelimit200Response
Source§fn eq(&self, other: &GetStatusRatelimit200Response) -> bool
fn eq(&self, other: &GetStatusRatelimit200Response) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetStatusRatelimit200Response
Auto Trait Implementations§
impl Freeze for GetStatusRatelimit200Response
impl RefUnwindSafe for GetStatusRatelimit200Response
impl Send for GetStatusRatelimit200Response
impl Sync for GetStatusRatelimit200Response
impl Unpin for GetStatusRatelimit200Response
impl UnwindSafe for GetStatusRatelimit200Response
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