pub struct ServerStats {
pub total_rows: usize,
pub total_bytes: usize,
pub read_rows: usize,
pub read_bytes: usize,
pub write_rows: usize,
pub write_bytes: usize,
pub running_time_ms: f64,
pub spill_file_nums: usize,
pub spill_bytes: usize,
}
Fields§
§total_rows: usize
§total_bytes: usize
§read_rows: usize
§read_bytes: usize
§write_rows: usize
§write_bytes: usize
§running_time_ms: f64
§spill_file_nums: usize
§spill_bytes: usize
Implementations§
Source§impl ServerStats
impl ServerStats
Trait Implementations§
Source§impl Clone for ServerStats
impl Clone for ServerStats
Source§fn clone(&self) -> ServerStats
fn clone(&self) -> ServerStats
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 moreSource§impl Debug for ServerStats
impl Debug for ServerStats
Source§impl Default for ServerStats
impl Default for ServerStats
Source§fn default() -> ServerStats
fn default() -> ServerStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerStats
impl<'de> Deserialize<'de> for ServerStats
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<QueryStats> for ServerStats
impl From<QueryStats> for ServerStats
Source§fn from(stats: QueryStats) -> ServerStats
fn from(stats: QueryStats) -> ServerStats
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServerStats
impl RefUnwindSafe for ServerStats
impl Send for ServerStats
impl Sync for ServerStats
impl Unpin for ServerStats
impl UnwindSafe for ServerStats
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