MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / wire

Method wire

atomic-cli/src/commands/intent/list.rs:98–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96
97impl 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

Callers 2

intent_listFunction · 0.45
memory_listFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected