pub struct RegistryRequest {
pub catalog: String,
pub registry: String,
pub name: String,
pub version: String,
pub pinned: bool,
pub server_json: String,
}Expand description
An MCP registry entry to draft from (#26): its server.json as the
registry served it (the server object of the entry).
Fields§
§catalog: String<catalog>/<server name>.
registry: StringThe registry’s base URL.
name: StringThe server name (io.github.acme/weather).
version: StringThe entry’s version.
pinned: boolThe version was asked for (--ref): updates do not follow the
latest one.
server_json: StringTrait Implementations§
Source§impl Clone for RegistryRequest
impl Clone for RegistryRequest
Auto Trait Implementations§
impl Forget for RegistryRequest
impl Freeze for RegistryRequest
impl Move for RegistryRequest
impl RefUnwindSafe for RegistryRequest
impl Send for RegistryRequestwhere
RawVecInner: Send,
impl Sync for RegistryRequestwhere
RawVecInner: Sync,
impl Unpin for RegistryRequest
impl UnsafeUnpin for RegistryRequest
impl UnwindSafe for RegistryRequestwhere
RawVecInner: UnwindSafe,
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