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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Generated by redfish-codegen. Do not modify.
/// The syslog facility code is an enumeration of program types.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum SyslogFacility {
/// Kernel messages.
Kern,
/// User-level messages.
User,
/// Mail system.
Mail,
/// System daemons.
Daemon,
/// Security/authentication messages.
Auth,
/// Messages generated internally by syslogd.
Syslog,
/// Line printer subsystem.
LPR,
/// Network news subsystem.
News,
/// UUCP subsystem.
UUCP,
/// Clock daemon.
Cron,
/// Security/authentication messages.
Authpriv,
/// FTP daemon.
FTP,
/// NTP subsystem.
NTP,
/// Log audit.
Security,
/// Log alert.
Console,
/// Scheduling daemon.
SolarisCron,
/// Locally used facility 0.
Local0,
/// Locally used facility 1.
Local1,
/// Locally used facility 2.
Local2,
/// Locally used facility 3.
Local3,
/// Locally used facility 4.
Local4,
/// Locally used facility 5.
Local5,
/// Locally used facility 6.
Local6,
/// Locally used facility 7.
Local7,
}
#[allow(clippy::derivable_impls)]
impl Default for SyslogFacility {
fn default() -> SyslogFacility {
SyslogFacility::Kern
}
}
impl crate::Metadata<'static> for SyslogFacility {
const JSON_SCHEMA: &'static str = "EventDestination.v1_13_1.json";
}