autofill/db/models/mod.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2* License, v. 2.0. If a copy of the MPL was not distributed with this
3* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4*/
5
6pub mod address;
7pub mod credit_card;
8use types::Timestamp;
9
10/// Metadata that's common between the records.
11#[derive(Debug, PartialEq, Eq, Copy, Clone, Default)]
12pub struct Metadata {
13 pub time_created: Timestamp,
14 pub time_last_used: Timestamp,
15 pub time_last_modified: Timestamp,
16 pub times_used: i64,
17 pub sync_change_counter: i64,
18}