pub struct JsonSnapshot {
pub window: u64,
pub elapsed: f64,
pub target_qps: Option<f64>,
pub client: ClientStats,
pub pubsub: PubsubStats,
}
Fields§
§window: u64
§elapsed: f64
§target_qps: Option<f64>
§client: ClientStats
§pubsub: PubsubStats
Trait Implementations§
Source§impl Default for JsonSnapshot
impl Default for JsonSnapshot
Source§fn default() -> JsonSnapshot
fn default() -> JsonSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsonSnapshot
impl<'de> Deserialize<'de> for JsonSnapshot
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 JsonSnapshot
impl RefUnwindSafe for JsonSnapshot
impl Send for JsonSnapshot
impl Sync for JsonSnapshot
impl Unpin for JsonSnapshot
impl UnwindSafe for JsonSnapshot
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