pub struct Query {
pub extern: Option<File>,
pub query: String,
pub type: Option<Type>,
pub dialect: Option<Dialect>,
pub now: Option<String>,
}
Expand description
Query influx using the Flux language
Fields
extern: Option<File>
Query Script
query: String
Query script to execute.
type: Option<Type>
The type of query. Must be "flux".
dialect: Option<Dialect>
Dialect
now: Option<String>
Specifies the time that should be reported as “now” in the query. Default is the server’s now time.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Query
impl<'de> Deserialize<'de> for Query
sourcefn 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 Query
Auto Trait Implementations
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more