pub struct QueryInfo {
    pub user: String,
    pub is_native: bool,
    pub query_id: Option<String>,
    pub from: i64,
    pub to: i64,
    pub limit: usize,
    pub offset: usize,
    pub ttl: i64,
    pub query: String,
    pub fields: Vec<String>,
}

Fields

user: String

The user that created the query pettition

is_native: bool

Use storage native query language: SQL, Elastic

query_id: Option<String>

If there are alredy a query resolved, make a query agaist it

from: i64

Starting time for event_created: Unix datetime from 1970

to: i64

Ending time for event_created: Unix datetime from 1970

limit: usize

Number of rows returned

offset: usize

Offseting the query

ttl: i64

Time to live of the query results

query: String

If empty and query_id has something, then return the stored query

fields: Vec<String>

List of fields to be returned, empty for all

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.