Make way to get values.

This commit is contained in:
James Pace 2026-07-22 22:23:57 -04:00
parent f40b641518
commit 5f5e9c3b8a
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ impl DiagnosticStatus {
self.hardware_id.clone()
}
pub fn values(&self) -> BTreeMap<String, String> {
self.values.clone()
}
pub fn keys(&self) -> Vec<String> {
self.values.keys().cloned().collect()
}