pub struct SendUserTurnOptions {
pub input: Vec<TurnInputPart>,
pub if_busy: Option<IfBusy>,
pub display_text: Option<String>,
pub reasoning_effort: Option<ReasoningEffort>,
pub workspace_roots: Option<Vec<String>>,
pub user_shell: Option<TurnUserShell>,
}Expand description
What one turn/start sends.
Fields§
§input: Vec<TurnInputPart>The prompt as ordered content parts; the server requires at least one.
if_busy: Option<IfBusy>What to do when a turn is already running; None sends nothing, and
the server queues the turn.
display_text: Option<String>The prompt’s transcript form, never shown to the model.
reasoning_effort: Option<ReasoningEffort>This turn’s reasoning tier; None uses the session’s current tier.
workspace_roots: Option<Vec<String>>Replaces the session’s workspace roots from this turn on; None keeps
them.
user_shell: Option<TurnUserShell>A shell command riding this turn, run at the next model-call boundary.
It excludes text and skill input, so input may then be empty. The
host serves it only on a connection granted the userShell
capability. MuseClient requests no
capabilities yet, so a real host refuses such a turn with
capabilityRequired (MuseError::Msp).
Trait Implementations§
Source§impl Clone for SendUserTurnOptions
impl Clone for SendUserTurnOptions
Source§impl Debug for SendUserTurnOptions
impl Debug for SendUserTurnOptions
Source§impl Default for SendUserTurnOptions
impl Default for SendUserTurnOptions
impl Eq for SendUserTurnOptions
Source§impl PartialEq for SendUserTurnOptions
impl PartialEq for SendUserTurnOptions
impl StructuralPartialEq for SendUserTurnOptions
Auto Trait Implementations§
impl Forget for SendUserTurnOptions
impl Freeze for SendUserTurnOptions
impl Move for SendUserTurnOptions
impl RefUnwindSafe for SendUserTurnOptions
impl Send for SendUserTurnOptions
impl Sync for SendUserTurnOptions
impl Unpin for SendUserTurnOptions
impl UnsafeUnpin for SendUserTurnOptions
impl UnwindSafe for SendUserTurnOptions
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