mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-04 11:51:03 +02:00
parent
bed59e2cb7
commit
04cf2344d5
@ -1,4 +1,4 @@
|
||||
FROM rust:1.54-buster as builder
|
||||
FROM rust:1.57-buster as builder
|
||||
WORKDIR /app
|
||||
ADD . /app
|
||||
ENV PATH=$PATH:/root/.cargo/bin
|
||||
|
||||
@ -189,7 +189,6 @@ pub fn do_append(
|
||||
#[derive(Debug, QueryableByName)]
|
||||
#[table_name = "batch_upload_items"]
|
||||
struct ExistsResult {
|
||||
user_id: i64,
|
||||
batch_id: i64,
|
||||
id: String,
|
||||
}
|
||||
|
||||
@ -18,21 +18,12 @@ use slog::{Key, Record, KV};
|
||||
|
||||
use crate::server::user_agent::parse_user_agent;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub struct Tags {
|
||||
pub tags: HashMap<String, String>,
|
||||
pub extra: HashMap<String, String>,
|
||||
}
|
||||
|
||||
impl Default for Tags {
|
||||
fn default() -> Tags {
|
||||
Tags {
|
||||
tags: HashMap::new(),
|
||||
extra: HashMap::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Serialize for Tags {
|
||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||
where
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user