MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / unmapped

Method unmapped

crates/openshell-ocsf/src/builders/base.rs:42–45  ·  view source on GitHub ↗
(mut self, key: &str, value: impl Into<serde_json::Value>)

Source from the content-addressed store, hash-verified

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 {

Calls

no outgoing calls

Tested by 1

test_base_event_builderFunction · 0.36