pub struct WebMcpManifest {
pub version: String,
pub name: String,
pub description: Option<String>,
pub tools: Vec<WebMcpTool>,
pub security: Option<WebMcpSecurityPolicy>,
}Expand description
WebMCP manifest for declarative (non-JS) tool exposure.
Used as an HTML form fallback when JavaScript execution is restricted.
Pages can include <meta name="webmcp-manifest" content="URL"> to
declare their tools via a static JSON manifest.
Fields§
§version: StringSchema version.
name: StringApplication name.
description: Option<String>Application description.
tools: Vec<WebMcpTool>Tools exposed by this application.
security: Option<WebMcpSecurityPolicy>Security policy for tool access.
Trait Implementations§
Source§impl Clone for WebMcpManifest
impl Clone for WebMcpManifest
Source§fn clone(&self) -> WebMcpManifest
fn clone(&self) -> WebMcpManifest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for WebMcpManifest
impl ComposeSchema for WebMcpManifest
Source§impl Debug for WebMcpManifest
impl Debug for WebMcpManifest
Source§impl<'de> Deserialize<'de> for WebMcpManifest
impl<'de> Deserialize<'de> for WebMcpManifest
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
Source§impl PartialEq for WebMcpManifest
impl PartialEq for WebMcpManifest
Source§impl Serialize for WebMcpManifest
impl Serialize for WebMcpManifest
Source§impl ToSchema for WebMcpManifest
impl ToSchema for WebMcpManifest
impl StructuralPartialEq for WebMcpManifest
Auto Trait Implementations§
impl Freeze for WebMcpManifest
impl RefUnwindSafe for WebMcpManifest
impl Send for WebMcpManifest
impl Sync for WebMcpManifest
impl Unpin for WebMcpManifest
impl UnwindSafe for WebMcpManifest
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