pub struct AiTabletQuery {
pub query_id: QueryId,
pub tablet_id: TabletId,
pub table: String,
pub search: SearchRequest,
pub authorization_context: Vec<u8>,
pub deadline_ms: Option<u64>,
pub budget: AiWorkBudget,
}Expand description
One typed tablet-local search request.
authorization_context is an opaque, bounded server-issued identity
envelope. The worker executor must validate it and apply column grants,
RLS, and masks before returning candidates. The transport never treats
node mTLS alone as user authorization.
Fields§
§query_id: QueryIdGlobal query identity.
tablet_id: TabletIdTablet whose replica must execute this request.
table: StringTable name inside that tablet.
search: SearchRequestCore hybrid-search request, bounded to tablet-local k by the
coordinator.
Server-issued authorization envelope.
deadline_ms: Option<u64>Remaining deadline propagated to the worker.
budget: AiWorkBudgetGlobal work budget.
Trait Implementations§
Source§impl Clone for AiTabletQuery
impl Clone for AiTabletQuery
Source§fn clone(&self) -> AiTabletQuery
fn clone(&self) -> AiTabletQuery
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 moreSource§impl Debug for AiTabletQuery
impl Debug for AiTabletQuery
Source§impl<'de> Deserialize<'de> for AiTabletQuery
impl<'de> Deserialize<'de> for AiTabletQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AiTabletQuery
impl RefUnwindSafe for AiTabletQuery
impl Send for AiTabletQuery
impl Sync for AiTabletQuery
impl Unpin for AiTabletQuery
impl UnsafeUnpin for AiTabletQuery
impl UnwindSafe for AiTabletQuery
Blanket Implementations§
impl<T> Allocation for T
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more