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
use serde::{Deserialize, Serialize};
use strum_macros::AsRefStr;
/// Standard VRL function categories.
///
/// These categories are used to organize VRL standard library functions
/// in documentation and tooling.
#[derive(
Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, AsRefStr,
)]
#[serde(rename_all = "PascalCase")]
pub enum Category {
/// Array manipulation functions
Array,
/// Encoding and decoding functions
Codec,
/// Type coercion functions
Coerce,
/// Type conversion functions
Convert,
/// Debugging functions
Debug,
/// Enumeration and iteration functions
Enumerate,
/// Path manipulation functions
Path,
/// Cryptographic functions
Cryptography,
/// IP address functions
#[serde(rename = "IP")]
#[strum(serialize = "IP")]
Ip,
/// Mapping/distance related functions
Map,
/// Numeric functions
Number,
/// Object manipulation functions
Object,
/// Parsing functions
Parse,
/// Random value generation functions
Random,
/// String manipulation functions
String,
/// System functions
System,
/// Timestamp functions
Timestamp,
/// Type checking functions
Type,
/// Checksum functions
Checksum,
}