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

Method set_container

crates/openshell-ocsf/src/events/base_event.rs:187–189  ·  view source on GitHub ↗

Set container info.

(&mut self, container: Container)

Source from the content-addressed store, hash-verified

185
186 /// Set container info.
187 pub fn set_container(&mut self, container: Container) {
188 self.container = Some(container);
189 }
190
191 /// Add an unmapped field.
192 pub fn add_unmapped(&mut self, key: &str, value: impl Into<serde_json::Value>) {

Callers 1

apply_common_fieldsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected