pub struct SpawnOpts {
pub session_id: String,
pub permission_mode: Option<String>,
pub dangerous: bool,
}Expand description
Options needed to build a spawn command. cwd is handled by tmux (-c), not the command itself.
Fields§
§session_id: String§permission_mode: Option<String>§dangerous: boolPass claude’s standalone --dangerously-skip-permissions (the --yolo posture).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnOpts
impl RefUnwindSafe for SpawnOpts
impl Send for SpawnOpts
impl Sync for SpawnOpts
impl Unpin for SpawnOpts
impl UnsafeUnpin for SpawnOpts
impl UnwindSafe for SpawnOpts
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