pub struct PromptPolicy {
pub repoprompt_plan_required: bool,
pub repoprompt_tool_injection: bool,
}Fields§
§repoprompt_plan_required: bool§repoprompt_tool_injection: boolTrait Implementations§
Source§impl Clone for PromptPolicy
impl Clone for PromptPolicy
Source§fn clone(&self) -> PromptPolicy
fn clone(&self) -> PromptPolicy
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 PromptPolicy
impl RefUnwindSafe for PromptPolicy
impl Send for PromptPolicy
impl Sync for PromptPolicy
impl Unpin for PromptPolicy
impl UnsafeUnpin for PromptPolicy
impl UnwindSafe for PromptPolicy
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