pub struct QueryStatistics {
pub bytes_scanned: Option<f64>,
pub records_matched: Option<f64>,
pub records_scanned: Option<f64>,
}Expand description
Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
Fields§
§bytes_scanned: Option<f64>The total number of bytes in the log events scanned during the query.
records_matched: Option<f64>The number of log events that matched the query string.
records_scanned: Option<f64>The total number of log events scanned during the query.
Trait Implementations§
Source§impl Clone for QueryStatistics
impl Clone for QueryStatistics
Source§fn clone(&self) -> QueryStatistics
fn clone(&self) -> QueryStatistics
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 Debug for QueryStatistics
impl Debug for QueryStatistics
Source§impl Default for QueryStatistics
impl Default for QueryStatistics
Source§fn default() -> QueryStatistics
fn default() -> QueryStatistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryStatistics
impl<'de> Deserialize<'de> for QueryStatistics
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 QueryStatistics
impl PartialEq for QueryStatistics
impl StructuralPartialEq for QueryStatistics
Auto Trait Implementations§
impl Freeze for QueryStatistics
impl RefUnwindSafe for QueryStatistics
impl Send for QueryStatistics
impl Sync for QueryStatistics
impl Unpin for QueryStatistics
impl UnwindSafe for QueryStatistics
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