1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
use NumericDatabseId;
/// Helper to tag numeric ids onto other datastructures for use with the database.
///
/// Use the [`.with_numeric_id(id)`] for convenient construction.
///
/// This is intentionally not serde compatible to avoid leaking internal Database ids.
/// Use UUIDs for communication with the outside world instead.
///
/// [`.with_numeric_id(id)`]: self::IntoWithNumericId::with_numeric_id
/// Provides a convenient function to add a numeric ID to a datastructure.