pub struct SessionCreateInfo {
pub id: SessionId,
pub cwd: PathBuf,
pub mcp_servers: Vec<McpServer>,
}Expand description
Stable information provided to SessionObserver after successful creation.
Fields§
§id: SessionId§cwd: PathBuf§mcp_servers: Vec<McpServer>Trait Implementations§
Source§impl Clone for SessionCreateInfo
impl Clone for SessionCreateInfo
Source§fn clone(&self) -> SessionCreateInfo
fn clone(&self) -> SessionCreateInfo
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 moreAuto Trait Implementations§
impl Freeze for SessionCreateInfo
impl RefUnwindSafe for SessionCreateInfo
impl Send for SessionCreateInfo
impl Sync for SessionCreateInfo
impl Unpin for SessionCreateInfo
impl UnsafeUnpin for SessionCreateInfo
impl UnwindSafe for SessionCreateInfo
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