pub struct JsonArray(pub Vec<JsonValue>);Expand description
Latest MCP Protocol 2026_07_28 JsonArray
JSON schema
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
}Tuple Fields§
§0: Vec<JsonValue>Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonArray
impl<'de> Deserialize<'de> for JsonArray
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 JsonArray
impl RefUnwindSafe for JsonArray
impl Send for JsonArray
impl Sync for JsonArray
impl Unpin for JsonArray
impl UnsafeUnpin for JsonArray
impl UnwindSafe for JsonArray
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