(mut self, key: &str, value: impl Into<serde_json::Value>)
| 40 | /// Add an unmapped field. |
| 41 | #[must_use] |
| 42 | pub fn unmapped(mut self, key: &str, value: impl Into<serde_json::Value>) -> Self { |
| 43 | self.unmapped.insert(key.to_string(), value.into()); |
| 44 | self |
| 45 | } |
| 46 | |
| 47 | #[must_use] |
| 48 | pub fn build(self) -> OcsfEvent { |
no outgoing calls