pub struct WorkerPromptOptions {
pub task_id: Option<String>,
pub mode: WorkerMode,
pub repoprompt_plan_required: bool,
pub repoprompt_tool_injection: bool,
pub iterations: u8,
pub iteration_index: u8,
pub plan_file: Option<PathBuf>,
pub plan_text: Option<String>,
pub explain: bool,
}Fields§
§task_id: Option<String>§mode: WorkerMode§repoprompt_plan_required: bool§repoprompt_tool_injection: bool§iterations: u8§iteration_index: u8§plan_file: Option<PathBuf>§plan_text: Option<String>§explain: boolTrait Implementations§
Source§impl Clone for WorkerPromptOptions
impl Clone for WorkerPromptOptions
Source§fn clone(&self) -> WorkerPromptOptions
fn clone(&self) -> WorkerPromptOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkerPromptOptions
impl RefUnwindSafe for WorkerPromptOptions
impl Send for WorkerPromptOptions
impl Sync for WorkerPromptOptions
impl Unpin for WorkerPromptOptions
impl UnsafeUnpin for WorkerPromptOptions
impl UnwindSafe for WorkerPromptOptions
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