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

Method state

crates/openshell-ocsf/src/builders/config.rs:42–46  ·  view source on GitHub ↗
(mut self, id: StateId, label: &str)

Source from the content-addressed store, hash-verified

40 /// Set state with a custom label (OCSF `state_id` + display label).
41 #[must_use]
42 pub fn state(mut self, id: StateId, label: &str) -> Self {
43 self.state_id = Some(id);
44 self.state_label = Some(label.to_string());
45 self
46 }
47
48 #[must_use]
49 pub fn security_level(mut self, id: SecurityLevelId) -> Self {

Calls

no outgoing calls