pub struct ConstitutionResponse {
pub version: String,
pub text: String,
}Expand description
Response from GET /api/constitution and the MCP get_constitution tool.
Fields§
§version: StringVersion string parsed from the document header, e.g. "0.3".
text: StringFull constitution text as markdown.
Trait Implementations§
Source§impl Debug for ConstitutionResponse
impl Debug for ConstitutionResponse
Source§impl<'de> Deserialize<'de> for ConstitutionResponse
impl<'de> Deserialize<'de> for ConstitutionResponse
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 ConstitutionResponse
impl RefUnwindSafe for ConstitutionResponse
impl Send for ConstitutionResponse
impl Sync for ConstitutionResponse
impl Unpin for ConstitutionResponse
impl UnsafeUnpin for ConstitutionResponse
impl UnwindSafe for ConstitutionResponse
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