You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: influxdb/src/query/mod.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ use consts::{MILLIS_PER_SECOND, MINUTES_PER_HOUR, NANOS_PER_MILLI, SECONDS_PER_M
35
35
#[cfg(feature = "derive")]
36
36
pubuse influxdb_derive::InfluxDbWriteable;
37
37
38
-
#[derive(PartialEq,Debug,Copy,Clone)]
38
+
#[derive(PartialEq,Eq,Debug,Copy,Clone)]
39
39
pubenumTimestamp{
40
40
Nanoseconds(u128),
41
41
Microseconds(u128),
@@ -127,11 +127,11 @@ impl<Q: Query> Query for &Q {
127
127
128
128
impl<Q:Query>QueryforBox<Q>{
129
129
fnbuild(&self) -> Result<ValidQuery,Error>{
130
-
Q::build(&*self)
130
+
Q::build(self)
131
131
}
132
132
133
133
fnget_type(&self) -> QueryType{
134
-
Q::get_type(&*self)
134
+
Q::get_type(self)
135
135
}
136
136
}
137
137
@@ -192,7 +192,7 @@ impl PartialEq<&str> for ValidQuery {
192
192
}
193
193
194
194
/// Internal Enum used to decide if a `POST` or `GET` request should be sent to InfluxDB. See [InfluxDB Docs](https://docs.influxdata.com/influxdb/v1.7/tools/api/#query-http-endpoint).
0 commit comments