pub struct CreateSessionOptions {
pub cwd: Option<String>,
pub env: BTreeMap<String, String>,
pub mcp_servers: Vec<McpServerConfig>,
pub skip_os_instructions: bool,
pub additional_instructions: Option<String>,
}Expand description
Options for create_session.
Fields§
§cwd: Option<String>Default "/workspace".
env: BTreeMap<String, String>§mcp_servers: Vec<McpServerConfig>Default [].
skip_os_instructions: boolDefault false.
additional_instructions: Option<String>Trait Implementations§
Source§impl Clone for CreateSessionOptions
impl Clone for CreateSessionOptions
Source§fn clone(&self) -> CreateSessionOptions
fn clone(&self) -> CreateSessionOptions
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 CreateSessionOptions
impl Debug for CreateSessionOptions
Source§impl Default for CreateSessionOptions
impl Default for CreateSessionOptions
Source§fn default() -> CreateSessionOptions
fn default() -> CreateSessionOptions
Returns the “default value” for a type. Read more
impl Eq for CreateSessionOptions
Source§impl PartialEq for CreateSessionOptions
impl PartialEq for CreateSessionOptions
impl StructuralPartialEq for CreateSessionOptions
Auto Trait Implementations§
impl Freeze for CreateSessionOptions
impl RefUnwindSafe for CreateSessionOptions
impl Send for CreateSessionOptions
impl Sync for CreateSessionOptions
impl Unpin for CreateSessionOptions
impl UnsafeUnpin for CreateSessionOptions
impl UnwindSafe for CreateSessionOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.