pub struct SessionMcpServerStartRequestedAction {
pub id: String,
}Expand description
Requests that the host start or restart an existing {@link McpServerCustomization}.
Locates the target entry by id, searching both the top-level
customization list and the children array of every container. The
reducer optimistically moves the server to
{@link McpServerStatus.Starting | starting} and clears any previous
{@link McpServerCustomization.channel | channel}; the host remains
authoritative and SHOULD follow with
{@link SessionMcpServerStateChangedAction | session/mcpServerStateChanged}
once the server becomes ready, needs authentication, fails, or is
rejected. Is a no-op when no matching McpServerCustomization is found.
Fields§
§id: StringThe id of the {@link McpServerCustomization} to start.
Trait Implementations§
Source§impl Clone for SessionMcpServerStartRequestedAction
impl Clone for SessionMcpServerStartRequestedAction
Source§fn clone(&self) -> SessionMcpServerStartRequestedAction
fn clone(&self) -> SessionMcpServerStartRequestedAction
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<'de> Deserialize<'de> for SessionMcpServerStartRequestedAction
impl<'de> Deserialize<'de> for SessionMcpServerStartRequestedAction
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 SessionMcpServerStartRequestedAction
impl PartialEq for SessionMcpServerStartRequestedAction
Source§fn eq(&self, other: &SessionMcpServerStartRequestedAction) -> bool
fn eq(&self, other: &SessionMcpServerStartRequestedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionMcpServerStartRequestedAction
Auto Trait Implementations§
impl Freeze for SessionMcpServerStartRequestedAction
impl RefUnwindSafe for SessionMcpServerStartRequestedAction
impl Send for SessionMcpServerStartRequestedAction
impl Sync for SessionMcpServerStartRequestedAction
impl Unpin for SessionMcpServerStartRequestedAction
impl UnsafeUnpin for SessionMcpServerStartRequestedAction
impl UnwindSafe for SessionMcpServerStartRequestedAction
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