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
//! [`LawfulBasis`] — the six grounds of GDPR Art. 6(1).
use ;
/// The ground on which personal data is processed: one of the six points of
/// Art. 6(1) of Regulation (EU) 2016/679.
///
/// The set is closed because the Article closes it: processing is lawful *"only
/// if and to the extent that at least one of the following applies"*, and six
/// points follow.
///
/// Naming one is the controller's statement. Which point applies, and whether
/// its conditions are met, is not something this crate can know or check.