pub enum Answer {
Show 59 variants
History(Box<HistoryAnswer>),
HistoryRange(Box<HistoryRangeAnswer>),
Sessions(SessionsAnswer),
Changes(ChangesAnswer),
Commit(Box<CommitAnswer>),
City(CityAnswer),
Run(Option<Box<RunSummary>>),
Approvals(ApprovalsAnswer),
Cost(Box<CostAnswer>),
Endpoints(EndpointsAnswer),
KnownHosts(KnownHostsAnswer),
AgentCatalog(Box<AgentCatalogAnswer>),
AgentSpec(Box<AgentOffer>),
Devices(Box<DevicesAnswer>),
Building(Box<BuildingAnswer>),
Inbox(InboxAnswer),
Discards(DiscardAnswer),
Registry(RegistryAnswer),
Archive(ArchiveAnswer),
Metrics(Box<MetricsAnswer>),
Governance(GovernanceAnswer),
Hunks(Box<HunksAnswer>),
Rounds(Box<RoundsAnswer>),
Evidence(EvidenceAnswer),
CostOf(CostOfAnswer),
RunCosts(RunCostsAnswer),
Listing(ListingAnswer),
Find(FindAnswer),
Document(Box<DocumentAnswer>),
Proposals(Box<ProposalsAnswer>),
OpenProposals(OpenProposalsAnswer),
Range(Box<RangeAnswer>),
Versions(Box<VersionsAnswer>),
Bytes(Box<BytesAnswer>),
Export(Box<ExportAnswer>),
Preview(Box<PreviewAnswer>),
Reply(Box<Laid>),
Commits(CommitsAnswer),
Doctor(Box<DoctorAnswer>),
Upstream(Box<DoctorUpstream>),
Prefix(Box<PrefixAnswer>),
Content(Box<ContentAnswer>),
Skills(Box<SkillsAnswer>),
GitStatus(Box<GitStatusAnswer>),
McpHealth(Box<McpHealthAnswer>),
SkillUsage(Box<SkillUsageAnswer>),
McpUsage(Box<McpUsageAnswer>),
UsageExport(Box<UsageExportAnswer>),
Shells(Box<ShellsAnswer>),
Toolkits(Box<ToolkitsAnswer>),
Release(Box<ReleaseAnswer>),
Preferences(Box<PreferencesAnswer>),
Config(Box<ConfigAnswer>),
Identity(Box<IdentityAnswer>),
Automation(Box<AutomationAnswer>),
GithubLogin(GithubLoginAnswer),
Guide(GuideProgress),
Privacy(Box<PrivacyAnswer>),
Unavailable {
query: String,
reason: Option<String>,
},
}Expand description
What a query returns. Unavailable is a real answer: a view this
build does not evaluate yet says so by name, rather than returning an
empty result a reader would mistake for an empty city.
Eq went when History arrived: a record’s payload is arbitrary
JSON, and JSON has no total equality. Nothing compared two answers
for equality outside a test.
Variants§
History(Box<HistoryAnswer>)
HistoryRange(Box<HistoryRangeAnswer>)
Sessions(SessionsAnswer)
Changes(ChangesAnswer)
Commit(Box<CommitAnswer>)
City(CityAnswer)
Run(Option<Box<RunSummary>>)
Approvals(ApprovalsAnswer)
Cost(Box<CostAnswer>)
Endpoints(EndpointsAnswer)
KnownHosts(KnownHostsAnswer)
AgentCatalog(Box<AgentCatalogAnswer>)
AgentSpec(Box<AgentOffer>)
One pasted spec read as an agent entry (crates/wire/spec/Answer/Agents.lean §8-90).
Devices(Box<DevicesAnswer>)
Building(Box<BuildingAnswer>)
Inbox(InboxAnswer)
Discards(DiscardAnswer)
Registry(RegistryAnswer)
Archive(ArchiveAnswer)
Metrics(Box<MetricsAnswer>)
Governance(GovernanceAnswer)
Hunks(Box<HunksAnswer>)
Rounds(Box<RoundsAnswer>)
Evidence(EvidenceAnswer)
CostOf(CostOfAnswer)
RunCosts(RunCostsAnswer)
Listing(ListingAnswer)
Find(FindAnswer)
Document(Box<DocumentAnswer>)
Proposals(Box<ProposalsAnswer>)
OpenProposals(OpenProposalsAnswer)
Range(Box<RangeAnswer>)
Versions(Box<VersionsAnswer>)
Bytes(Box<BytesAnswer>)
Export(Box<ExportAnswer>)
Preview(Box<PreviewAnswer>)
Reply(Box<Laid>)
A reply’s text laid out (crates/wire/spec/Answer/Preview.lean §8-75): its closed blocks, and
the bytes they cover.
Commits(CommitsAnswer)
Doctor(Box<DoctorAnswer>)
Upstream(Box<DoctorUpstream>)
Prefix(Box<PrefixAnswer>)
Content(Box<ContentAnswer>)
Skills(Box<SkillsAnswer>)
GitStatus(Box<GitStatusAnswer>)
McpHealth(Box<McpHealthAnswer>)
SkillUsage(Box<SkillUsageAnswer>)
McpUsage(Box<McpUsageAnswer>)
UsageExport(Box<UsageExportAnswer>)
Shells(Box<ShellsAnswer>)
Toolkits(Box<ToolkitsAnswer>)
Release(Box<ReleaseAnswer>)
Preferences(Box<PreferencesAnswer>)
Config(Box<ConfigAnswer>)
Identity(Box<IdentityAnswer>)
Automation(Box<AutomationAnswer>)
GithubLogin(GithubLoginAnswer)
Guide(GuideProgress)
Privacy(Box<PrivacyAnswer>)
reason is the text of what stopped a view that tried to look
(crates/wire/spec/Server.lean D47); absent when the view names
the query alone.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Answer
impl<'de> Deserialize<'de> for Answer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Answer
Auto Trait Implementations§
impl Freeze for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnsafeUnpin for Answer
impl UnwindSafe for Answer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more