(raw: &mut Value, key: &str, value: Value)
| 420 | } |
| 421 | |
| 422 | fn insert_if_missing(raw: &mut Value, key: &str, value: Value) { |
| 423 | if let Some(obj) = raw.as_object_mut() { |
| 424 | obj.entry(key.to_string()).or_insert(value); |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | fn uuid_short() -> String { |
| 429 | use std::time::{SystemTime, UNIX_EPOCH}; |
no outgoing calls
no test coverage detected