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

Method set_device

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

Set device info.

(&mut self, device: Device)

Source from the content-addressed store, hash-verified

180
181 /// Set device info.
182 pub fn set_device(&mut self, device: Device) {
183 self.device = Some(device);
184 }
185
186 /// Set container info.
187 pub fn set_container(&mut self, container: Container) {

Callers 1

apply_common_fieldsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected