pub struct RequestView {
pub request: Arc<Request>,
pub claim: Option<HumanClaim>,
pub execution: Option<Arc<Execution>>,
pub definition: Option<RequestDefinition>,
}Expand description
A request with what it shows. Its decoded records are shared: a copy of the view, and the Run’s view of the same read, keep the one request and execution, so a snapshot that is read again copies only the requests that changed.
Fields§
§request: Arc<Request>§claim: Option<HumanClaim>§execution: Option<Arc<Execution>>§definition: Option<RequestDefinition>Trait Implementations§
Source§impl Clone for RequestView
impl Clone for RequestView
Source§impl Debug for RequestView
impl Debug for RequestView
Auto Trait Implementations§
impl Forget for RequestView
impl Freeze for RequestViewwhere
*const ArcInner<Request> is !null: Freeze,
PhantomData<ArcInner<Request>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
*const ArcInner<Execution> is !null: Freeze,
PhantomData<ArcInner<Execution>>: Freeze,
*const ArcInner<Graph> is !null: Freeze,
PhantomData<ArcInner<Graph>>: Freeze,
*const ArcInner<Eval> is !null: Freeze,
PhantomData<ArcInner<Eval>>: Freeze,
*const ArcInner<Artifact> is !null: Freeze,
PhantomData<ArcInner<Artifact>>: Freeze,
impl Move for RequestView
impl RefUnwindSafe for RequestView
impl Send for RequestView
impl Sync for RequestView
impl Unpin for RequestView
impl UnsafeUnpin for RequestViewwhere
*const ArcInner<Request> is !null: UnsafeUnpin,
PhantomData<ArcInner<Request>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
*const ArcInner<Execution> is !null: UnsafeUnpin,
PhantomData<ArcInner<Execution>>: UnsafeUnpin,
*const ArcInner<Graph> is !null: UnsafeUnpin,
PhantomData<ArcInner<Graph>>: UnsafeUnpin,
*const ArcInner<Eval> is !null: UnsafeUnpin,
PhantomData<ArcInner<Eval>>: UnsafeUnpin,
*const ArcInner<Artifact> is !null: UnsafeUnpin,
PhantomData<ArcInner<Artifact>>: UnsafeUnpin,
impl UnwindSafe for RequestViewwhere
Arc<Request>: UnwindSafe,
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Arc<Execution>: UnwindSafe,
Arc<Graph>: UnwindSafe,
Arc<Eval>: UnwindSafe,
Arc<Artifact>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.