pub struct ReadQuery { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Query for ReadQuery
impl Query for ReadQuery
Source§fn build(&self) -> Result<ValidQuery, Error>
fn build(&self) -> Result<ValidQuery, Error>
Builds valid InfluxSQL which can be run against the Database.
In case no fields have been specified, it will return an error,
as that is invalid InfluxSQL syntax. Read more
Source§fn build_with_opts(&self, _use_v2: bool) -> Result<ValidQuery, Error>
fn build_with_opts(&self, _use_v2: bool) -> Result<ValidQuery, Error>
Like [build] but with additional support for unsigned integers in the line protocol.
Please note, this crate can only interact with InfluxDB 2.0 in compatibility mode
and does not natively support InfluxDB 2.0. Read more
fn get_type(&self) -> QueryType
Auto Trait Implementations§
impl Freeze for ReadQuery
impl RefUnwindSafe for ReadQuery
impl Send for ReadQuery
impl Sync for ReadQuery
impl Unpin for ReadQuery
impl UnwindSafe for ReadQuery
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