pub struct SessionStartEvent {
pub session_id: String,
pub proxy: String,
pub ts: i64,
pub client_name: Option<String>,
pub client_version: Option<String>,
pub client_platform: Option<String>,
}Expand description
MCP session established via initialize handshake.
Fields§
§session_id: String§proxy: String§ts: i64§client_name: Option<String>Client name from clientInfo.name (e.g., “claude-desktop”).
client_version: Option<String>Client version from clientInfo.version (e.g., “1.2.0”).
client_platform: Option<String>Normalized platform: “claude”, “chatgpt”, “vscode”, “cursor”, “unknown”.
Trait Implementations§
Source§impl Clone for SessionStartEvent
impl Clone for SessionStartEvent
Source§fn clone(&self) -> SessionStartEvent
fn clone(&self) -> SessionStartEvent
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 SessionStartEvent
impl Debug for SessionStartEvent
Auto Trait Implementations§
impl Freeze for SessionStartEvent
impl RefUnwindSafe for SessionStartEvent
impl Send for SessionStartEvent
impl Sync for SessionStartEvent
impl Unpin for SessionStartEvent
impl UnsafeUnpin for SessionStartEvent
impl UnwindSafe for SessionStartEvent
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