pub struct InitSessionRequest {
pub agent_id: String,
pub server_id: String,
}Expand description
Parameters for initializing a new MCP session.
Fields§
§agent_id: StringAgent that is initiating the session.
server_id: StringThe MCP server to connect to.
Trait Implementations§
Source§impl Debug for InitSessionRequest
impl Debug for InitSessionRequest
Auto Trait Implementations§
impl Freeze for InitSessionRequest
impl RefUnwindSafe for InitSessionRequest
impl Send for InitSessionRequest
impl Sync for InitSessionRequest
impl Unpin for InitSessionRequest
impl UnsafeUnpin for InitSessionRequest
impl UnwindSafe for InitSessionRequest
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