(entry: &VaultEntry)
| 864 | } |
| 865 | } |
| 866 | fn verifies_rank(entry: &VaultEntry) -> u8 { |
| 867 | match entry.verifies.as_deref() { |
| 868 | Some("yes") => 0, |
| 869 | Some("no") => 1, |
| 870 | _ => 2, |
| 871 | } |
| 872 | } |
| 873 | // Intents carry their status and kind in `status_label`/`manifest_kind`, |
| 874 | // memories in `memory_status`/`memory_kind`; each entry has one pair. |
| 875 | fn status(entry: &VaultEntry) -> Option<&str> { |