pub enum WebOwner {
Mcp {
plugin: String,
server: String,
uri: String,
},
Plugin {
plugin: String,
view: String,
key: String,
},
Other,
}Expand description
Who answers a web surface’s calls.
Variants§
Mcp
An MCP App: the ui:// resource uri of server server of plugin plugin.
Plugin
A plugin’s web view (views: [{site, id, html}]; key as for tree views) or a
web:<file> artifact renderer (view is artifact:<file>, key the artifact id).
Other
An owner a newer peer knows (its calls are refused).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebOwner
impl<'de> Deserialize<'de> for WebOwner
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
impl Eq for WebOwner
Source§impl Ord for WebOwner
impl Ord for WebOwner
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for WebOwner
impl PartialOrd for WebOwner
impl StructuralPartialEq for WebOwner
Auto Trait Implementations§
impl Forget for WebOwner
impl Freeze for WebOwner
impl Move for WebOwner
impl RefUnwindSafe for WebOwner
impl Send for WebOwner
impl Sync for WebOwner
impl Unpin for WebOwner
impl UnsafeUnpin for WebOwner
impl UnwindSafe for WebOwner
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