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

Method new

crates/openshell-ocsf/src/objects/finding.rs:25–31  ·  view source on GitHub ↗
(uid: &str, title: &str)

Source from the content-addressed store, hash-verified

23 /// Create a new finding info.
24 #[must_use]
25 pub fn new(uid: &str, title: &str) -> Self {
26 Self {
27 uid: uid.to_string(),
28 title: title.to_string(),
29 desc: None,
30 }
31 }
32
33 /// Set the description.
34 #[must_use]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected