pub struct CliDispatchContext<'a> {
pub guard: bool,
pub target_args: &'a str,
pub iteration: u32,
pub agent_model: Option<&'a str>,
}Expand description
Context for rendering a harness’s one-shot CLI agent-dispatch guidance.
Fields§
§guard: bool§target_args: &'a str§iteration: u32§agent_model: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for CliDispatchContext<'a>
impl<'a> Clone for CliDispatchContext<'a>
Source§fn clone(&self) -> CliDispatchContext<'a>
fn clone(&self) -> CliDispatchContext<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for CliDispatchContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for CliDispatchContext<'a>
impl<'a> RefUnwindSafe for CliDispatchContext<'a>
impl<'a> Send for CliDispatchContext<'a>
impl<'a> Sync for CliDispatchContext<'a>
impl<'a> Unpin for CliDispatchContext<'a>
impl<'a> UnsafeUnpin for CliDispatchContext<'a>
impl<'a> UnwindSafe for CliDispatchContext<'a>
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