Runs on remote

This commit is contained in:
Dominik Werder
2021-05-07 13:36:50 +02:00
parent 073fde5fa8
commit b8507c4a35
6 changed files with 55 additions and 8 deletions

View File

@@ -40,6 +40,17 @@ pub enum CacheUsage {
Recreate,
}
impl CacheUsage {
pub fn query_param_value(&self) -> String {
match self {
CacheUsage::Use => "use",
CacheUsage::Ignore => "ignore",
CacheUsage::Recreate => "recreate",
}
.into()
}
}
#[derive(Clone, Debug)]
pub struct BinnedQuery {
range: NanoRange,