pub struct SessionStartData {
pub already_in_use: Option<bool>,
pub context: Option<WorkingDirectoryContext>,
pub copilot_version: String,
pub producer: String,
pub reasoning_effort: Option<String>,
pub remote_steerable: Option<bool>,
pub selected_model: Option<String>,
pub session_id: SessionId,
pub start_time: String,
pub version: f64,
}Expand description
Session initialization metadata including context and configuration
Fields§
§already_in_use: Option<bool>Whether the session was already in use by another client at start time
context: Option<WorkingDirectoryContext>Working directory and git context at session start
copilot_version: StringVersion string of the Copilot application
producer: StringIdentifier of the software producing the events (e.g., “copilot-agent”)
reasoning_effort: Option<String>Reasoning effort level used for model calls, if applicable (e.g. “low”, “medium”, “high”, “xhigh”)
remote_steerable: Option<bool>Whether this session supports remote steering via Mission Control
selected_model: Option<String>Model selected at session creation time, if any
session_id: SessionIdUnique identifier for the session
start_time: StringISO 8601 timestamp when the session was created
version: f64Schema version number for the session event format
Trait Implementations§
Source§impl Clone for SessionStartData
impl Clone for SessionStartData
Source§fn clone(&self) -> SessionStartData
fn clone(&self) -> SessionStartData
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 Debug for SessionStartData
impl Debug for SessionStartData
Source§impl<'de> Deserialize<'de> for SessionStartData
impl<'de> Deserialize<'de> for SessionStartData
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 SessionStartData
impl RefUnwindSafe for SessionStartData
impl Send for SessionStartData
impl Sync for SessionStartData
impl Unpin for SessionStartData
impl UnsafeUnpin for SessionStartData
impl UnwindSafe for SessionStartData
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