pub enum PluginEntrypoint {
Global {
app_id: String,
icons: Vec<PluginIcon>,
quick_action: Option<PluginQuickAction>,
resource_uri: String,
title: String,
tool_name: String,
},
Settings {
app_id: String,
icons: Vec<PluginIcon>,
resource_uri: String,
search_terms: Vec<String>,
title: String,
tool_name: String,
},
Thread {
app_id: String,
icons: Vec<PluginIcon>,
resource_uri: String,
title: String,
tool_name: String,
},
File {
app_id: String,
extensions: Vec<String>,
icons: Vec<PluginIcon>,
resource_uri: String,
title: String,
tool_name: String,
},
}Expand description
A UI entrypoint contributed by a plugin’s bundled MCP app. Every variant
shares the presentation fields (app_id, tool_name, title,
resource_uri, icons); the type tag says where the host surfaces it.
Variants§
Global
Settings
Fields
§
icons: Vec<PluginIcon>Thread
File
Trait Implementations§
Source§impl Clone for PluginEntrypoint
impl Clone for PluginEntrypoint
Source§impl Debug for PluginEntrypoint
impl Debug for PluginEntrypoint
Source§impl<'de> Deserialize<'de> for PluginEntrypoint
impl<'de> Deserialize<'de> for PluginEntrypoint
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 PluginEntrypoint
impl PartialEq for PluginEntrypoint
Source§impl Serialize for PluginEntrypoint
impl Serialize for PluginEntrypoint
impl StructuralPartialEq for PluginEntrypoint
Auto Trait Implementations§
impl Freeze for PluginEntrypoint
impl RefUnwindSafe for PluginEntrypoint
impl Send for PluginEntrypoint
impl Sync for PluginEntrypoint
impl Unpin for PluginEntrypoint
impl UnsafeUnpin for PluginEntrypoint
impl UnwindSafe for PluginEntrypoint
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