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 Freeze for RequestView
impl RefUnwindSafe for RequestView
impl Send for RequestView
impl Sync for RequestView
impl Unpin for RequestView
impl UnsafeUnpin for RequestView
impl UnwindSafe for RequestView
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,
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.