pub struct ToolExecutionCompleteUIResource {
pub meta: Option<ToolExecutionCompleteUIResourceMeta>,
pub blob: Option<String>,
pub mime_type: String,
pub text: Option<String>,
pub uri: String,
}Expand description
MCP Apps UI resource content for rendering in a sandboxed iframe
Fields§
§meta: Option<ToolExecutionCompleteUIResourceMeta>Resource-level UI metadata (CSP, permissions, visual preferences)
blob: Option<String>Base64-encoded HTML content
mime_type: StringMIME type of the content
text: Option<String>HTML content as a string
uri: StringThe ui:// URI of the resource
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolExecutionCompleteUIResource
impl<'de> Deserialize<'de> for ToolExecutionCompleteUIResource
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 ToolExecutionCompleteUIResource
impl RefUnwindSafe for ToolExecutionCompleteUIResource
impl Send for ToolExecutionCompleteUIResource
impl Sync for ToolExecutionCompleteUIResource
impl Unpin for ToolExecutionCompleteUIResource
impl UnsafeUnpin for ToolExecutionCompleteUIResource
impl UnwindSafe for ToolExecutionCompleteUIResource
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