pub struct McpApi { /* private fields */ }Expand description
MCP endpoint namespace.
Implementations§
Source§impl McpApi
impl McpApi
pub async fn status(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn add(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn connect(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn disconnect(&self, options: RequestOptions) -> Result<ApiResponse>
pub fn auth(&self) -> McpAuthApi
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McpApi
impl !RefUnwindSafe for McpApi
impl Send for McpApi
impl Sync for McpApi
impl Unpin for McpApi
impl UnsafeUnpin for McpApi
impl !UnwindSafe for McpApi
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