(self)
| 96 | |
| 97 | impl IntentSort { |
| 98 | pub(crate) fn wire(self) -> atomic_client::proto::VaultListSort { |
| 99 | use atomic_client::proto::VaultListSort as W; |
| 100 | match self { |
| 101 | IntentSort::Id | IntentSort::HumanKey => W::Id, |
| 102 | IntentSort::Title => W::Title, |
| 103 | IntentSort::Status => W::Status, |
| 104 | IntentSort::Kind => W::Kind, |
| 105 | IntentSort::Attested => W::Attested, |
| 106 | IntentSort::Verifies => W::Verifies, |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | /// Order `rows` by `key` (the local body's twin of the service's listing |
no outgoing calls
no test coverage detected