pub struct Results {
pub json: String,
pub stats: Stats,
pub next: Option<Cursor>,
pub cursors: Vec<Cursor>,
}Fields§
§json: StringA JSON array of row objects.
stats: Stats§next: Option<Cursor>Pass back as after for the next page. None means this was the last
one — not “ask again and see”, which is the ambiguity that makes readers
poll forever.
cursors: Vec<Cursor>One cursor per row in json, in the same order, and empty unless
Search::cursors asked for them.
Beside the rows rather than inside them. A rendered row is the OTLP record and nothing else (principle 3), and a reader that did not ask for cursors should not have to step over one in every object to find the fields it came for.
Auto Trait Implementations§
impl Freeze for Results
impl RefUnwindSafe for Results
impl Send for Results
impl Sync for Results
impl Unpin for Results
impl UnsafeUnpin for Results
impl UnwindSafe for Results
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].