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>>,
}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.
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 Freeze 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