(raw: &Value, key: &str)
| 716 | } |
| 717 | |
| 718 | fn value_string(raw: &Value, key: &str) -> Option<String> { |
| 719 | raw.get(key) |
| 720 | .and_then(Value::as_str) |
| 721 | .map(str::to_string) |
| 722 | .filter(|s| !s.is_empty()) |
| 723 | } |
| 724 | |
| 725 | fn uuid_short() -> String { |
| 726 | use std::time::{SystemTime, UNIX_EPOCH}; |
no test coverage detected