File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Rust
2
2
3
- on : [push]
3
+ on : [push, pull_request ]
4
4
5
5
jobs :
6
6
style :
Original file line number Diff line number Diff line change 5
5
use crate :: query:: { QueryType , ValidQuery } ;
6
6
use crate :: { Error , Query } ;
7
7
8
+ #[ derive( Debug , Clone ) ]
8
9
pub struct ReadQuery {
9
10
queries : Vec < String > ,
10
11
}
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ impl<T: Into<Type>> WriteType for Option<T> {
27
27
}
28
28
29
29
/// Internal Representation of a Write query that has not yet been built
30
+ #[ derive( Debug , Clone ) ]
30
31
pub struct WriteQuery {
31
32
fields : Vec < ( String , Type ) > ,
32
33
tags : Vec < ( String , Type ) > ,
@@ -105,6 +106,7 @@ impl WriteQuery {
105
106
}
106
107
}
107
108
109
+ #[ derive( Debug , Clone ) ]
108
110
pub enum Type {
109
111
Boolean ( bool ) ,
110
112
Float ( f64 ) ,
You can’t perform that action at this time.
0 commit comments