pub struct McpPublisherInfo {
pub name: String,
pub homepage: Option<String>,
pub registry_id: Option<String>,
}Expand description
Display-only publisher metadata captured at install time. None of
the fields are validated against any external authority — they’re
shown to the user during the install confirm prompt and reproduced
in mur agent mcp inspect output so the user can audit who they
thought they were trusting. (B0 rule 6 / M9.1)
Fields§
§name: StringFree-form publisher identifier — e.g. "Anthropic",
"@github-user-alice", or whatever serverInfo.name returned.
homepage: Option<String>Optional homepage / docs URL. Best-effort: extracted from the
MCP’s serverInfo.metadata.homepage or registry entry when
available; otherwise left unset.
registry_id: Option<String>Optional registry coordinate — e.g. "@anthropic-mcp/weather@1.2.3".
Used purely for display; not consumed by any verification path.
Trait Implementations§
Source§impl Clone for McpPublisherInfo
impl Clone for McpPublisherInfo
Source§fn clone(&self) -> McpPublisherInfo
fn clone(&self) -> McpPublisherInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McpPublisherInfo
impl Debug for McpPublisherInfo
Source§impl Default for McpPublisherInfo
impl Default for McpPublisherInfo
Source§fn default() -> McpPublisherInfo
fn default() -> McpPublisherInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPublisherInfo
impl<'de> Deserialize<'de> for McpPublisherInfo
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 McpPublisherInfo
impl PartialEq for McpPublisherInfo
Source§fn eq(&self, other: &McpPublisherInfo) -> bool
fn eq(&self, other: &McpPublisherInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpPublisherInfo
impl Serialize for McpPublisherInfo
impl Eq for McpPublisherInfo
impl StructuralPartialEq for McpPublisherInfo
Auto Trait Implementations§
impl Freeze for McpPublisherInfo
impl RefUnwindSafe for McpPublisherInfo
impl Send for McpPublisherInfo
impl Sync for McpPublisherInfo
impl Unpin for McpPublisherInfo
impl UnsafeUnpin for McpPublisherInfo
impl UnwindSafe for McpPublisherInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.