Skip to main content

muse_code_sdk/msp/
request.rs

1// @generated from the MSP stable schema and protocol sources; do not edit by hand.
2
3use serde::Deserialize;
4use serde::Serialize;
5
6/// The presentation receipt — the client's response to a server-initiated
7/// request (`approval/request`, `userInput/request`).
8///
9/// The response acknowledges presentation only ("a surface showed or will show
10/// this"): it changes no state, the server uses it for diagnostics alone, and
11/// the decision/answer travels as a command (`approval/decide`,
12/// `userInput/answer`). An error response or a dropped connection means this
13/// connection could not present the request; the approval or prompt stays
14/// pending and the request is re-issued on the next subscribe. There is no
15/// dismiss-without-deciding on the wire.
16#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]
17#[serde(rename_all = "camelCase")]
18#[non_exhaustive]
19pub struct RequestReceipt {}