pub enum QueryType {
ReadQuery,
WriteQuery(String),
}
Expand description
Internal Enum used to decide if a POST
or GET
request should be sent to InfluxDB. See InfluxDB Docs.
Variants§
Trait Implementations§
source§impl PartialEq for QueryType
impl PartialEq for QueryType
impl Eq for QueryType
impl StructuralPartialEq for QueryType
Auto Trait Implementations§
impl RefUnwindSafe for QueryType
impl Send for QueryType
impl Sync for QueryType
impl Unpin for QueryType
impl UnwindSafe for QueryType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.