pub struct Inputs<'a> {
pub question: &'a str,
pub mode: Mode,
pub retrieval: &'a [BucketPlan],
pub fusion_limit: u32,
pub fusion_k_constant: u32,
pub depth: u32,
pub sources: &'a [PlannedSource],
pub provider: &'a ProviderSelection,
pub determinism: Determinism,
pub estimated_cost: EstimatedCost,
}Expand description
All inputs the builder needs. Caller is responsible for assembling these from the real retrieval/determinism/provider layers; the builder does not call into them.
Fields§
§question: &'a str§mode: Mode§retrieval: &'a [BucketPlan]§fusion_limit: u32§fusion_k_constant: u32§depth: u32§sources: &'a [PlannedSource]§provider: &'a ProviderSelection§determinism: Determinism§estimated_cost: EstimatedCostTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Inputs<'a>
impl<'a> RefUnwindSafe for Inputs<'a>
impl<'a> Send for Inputs<'a>
impl<'a> Sync for Inputs<'a>
impl<'a> Unpin for Inputs<'a>
impl<'a> UnsafeUnpin for Inputs<'a>
impl<'a> UnwindSafe for Inputs<'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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request