pub struct ProposalsResponse {
pub proposals: Vec<ProposalResponse>,
}Expand description
The get_proposals response as an object: { "proposals": [...] }.
A wrapper rather than a bare array because MCP structured content
(structuredContent + output_schema) requires a top-level object.
REST keeps returning the bare Vec<ProposalResponse> deployed
clients already parse; both shapes share the element type, so the
field documentation cannot drift between surfaces.
Fields§
§proposals: Vec<ProposalResponse>Trait Implementations§
Source§impl Debug for ProposalsResponse
impl Debug for ProposalsResponse
Source§impl<'de> Deserialize<'de> for ProposalsResponse
impl<'de> Deserialize<'de> for ProposalsResponse
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
Auto Trait Implementations§
impl Freeze for ProposalsResponse
impl RefUnwindSafe for ProposalsResponse
impl Send for ProposalsResponse
impl Sync for ProposalsResponse
impl Unpin for ProposalsResponse
impl UnsafeUnpin for ProposalsResponse
impl UnwindSafe for ProposalsResponse
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