pub struct Coverage<'a> { /* private fields */ }Expand description
The coverage task, over one turn.
Implementations§
Trait Implementations§
impl<'a> Copy for Coverage<'a>
Source§impl ModelTask for Coverage<'_>
impl ModelTask for Coverage<'_>
Source§fn prompt_name(&self) -> &str
fn prompt_name(&self) -> &str
The prompt name a prompt source is asked for, such as
understand.segment.Source§fn instructions(&self) -> &str
fn instructions(&self) -> &str
The built-in instructions, used when no source supplies the prompt.
Source§fn schema(&self, _input: &Found) -> Value
fn schema(&self, _input: &Found) -> Value
The answer’s JSON Schema for this input, with its closed sets filled in.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Coverage<'a>
impl<'a> !UnwindSafe for Coverage<'a>
impl<'a> Freeze for Coverage<'a>
impl<'a> Send for Coverage<'a>
impl<'a> Sync for Coverage<'a>
impl<'a> Unpin for Coverage<'a>
impl<'a> UnsafeUnpin for Coverage<'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