#[non_exhaustive]pub struct QueryInfo {
pub bytes: Option<i64>,
pub data: Option<Value>,
pub name: Option<String>,
pub query_string: Option<String>,
pub query_time: Option<i64>,
pub query_time_dt: Option<String>,
pub uid: Option<String>,
}Expand description
Query Information
The query info object holds information related to data access within a datastore. To access, manipulate, delete, or retrieve data from a datastore, a query must be written using a specific syntax.
[] Category: | Name: query_info
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bytes: Option<i64>Total Bytes
The size of the data returned from the query.
optional
data: Option<Value>Data
The data returned from the query execution.
optional
name: Option<String>Name
The query name for a saved or scheduled query.
recommended
query_string: Option<String>Query String
A string representing the query code being run. For example: SELECT * FROM my_table
required
query_time: Option<i64>Query Time
The time when the query was run.
optional
query_time_dt: Option<String>Query Time
The time when the query was run.
optional
uid: Option<String>Unique ID
The unique identifier of the query.
recommended
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryInfo
impl<'de> Deserialize<'de> for QueryInfo
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
impl StructuralPartialEq for QueryInfo
Auto Trait Implementations§
impl Freeze for QueryInfo
impl RefUnwindSafe for QueryInfo
impl Send for QueryInfo
impl Sync for QueryInfo
impl Unpin for QueryInfo
impl UnwindSafe for QueryInfo
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