pub struct McpActionResponse {
pub ok: Option<bool>,
pub connected: Option<bool>,
pub name: Option<String>,
pub extra: Value,
}Expand description
Response from MCP action endpoints (add, auth_callback, authenticate, connect, disconnect).
Fields§
§ok: Option<bool>Whether the operation succeeded.
connected: Option<bool>Whether connected.
name: Option<String>Server name.
extra: ValueAdditional fields.
Trait Implementations§
Source§impl Clone for McpActionResponse
impl Clone for McpActionResponse
Source§fn clone(&self) -> McpActionResponse
fn clone(&self) -> McpActionResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 McpActionResponse
impl Debug for McpActionResponse
Source§impl<'de> Deserialize<'de> for McpActionResponse
impl<'de> Deserialize<'de> for McpActionResponse
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
Auto Trait Implementations§
impl Freeze for McpActionResponse
impl RefUnwindSafe for McpActionResponse
impl Send for McpActionResponse
impl Sync for McpActionResponse
impl Unpin for McpActionResponse
impl UnwindSafe for McpActionResponse
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