pub struct PrefetchRequest {
pub call: PlannedCall,
pub args: Value,
pub rate_limit_host: Option<String>,
}Expand description
One unit of work the engine decides about. Public so the host can
produce the list (combining EnrichmentPlan.calls with extracted
args from projection) before handing it to the engine.
Fields§
§call: PlannedCall§args: Value§rate_limit_host: Option<String>Pre-computed rate-limit host for this call. None = uncapped.
Built by the host from either the static
ToolValueModel.rate_limit_host or the runtime
ToolEnricher::rate_limit_host(args) — whichever resolved.
Trait Implementations§
Source§impl Clone for PrefetchRequest
impl Clone for PrefetchRequest
Source§fn clone(&self) -> PrefetchRequest
fn clone(&self) -> PrefetchRequest
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 moreAuto Trait Implementations§
impl Freeze for PrefetchRequest
impl RefUnwindSafe for PrefetchRequest
impl Send for PrefetchRequest
impl Sync for PrefetchRequest
impl Unpin for PrefetchRequest
impl UnsafeUnpin for PrefetchRequest
impl UnwindSafe for PrefetchRequest
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