pub struct GetContinuationsQuery<'a, Q> { /* private fields */ }Expand description
Query that will get continuations for a query that returned paginated results.
Implementations§
Source§impl<'a, Q> GetContinuationsQuery<'a, Q>
impl<'a, Q> GetContinuationsQuery<'a, Q>
Sourcepub fn new_mock_unchecked(query: &'a Q) -> GetContinuationsQuery<'a, Q>
pub fn new_mock_unchecked(query: &'a Q) -> GetContinuationsQuery<'a, Q>
Create a GetContinuationsQuery with dummy continuation params - for testing purposes.
Source§impl<'a, Q> GetContinuationsQuery<'a, Q>
impl<'a, Q> GetContinuationsQuery<'a, Q>
pub fn from_first_result<T: ParseFromContinuable<Q>>( res: ProcessedResult<'a, Q>, ) -> Result<(T, Option<GetContinuationsQuery<'a, Q>>)>
pub fn from_continuation<'b, T: ParseFromContinuable<Q>>( res: ProcessedResult<'a, GetContinuationsQuery<'b, Q>>, ) -> Result<(T, Option<GetContinuationsQuery<'b, Q>>)>
Trait Implementations§
Source§impl<Q> PostQuery for GetContinuationsQuery<'_, Q>where
Q: PostQuery,
impl<Q> PostQuery for GetContinuationsQuery<'_, Q>where
Q: PostQuery,
Auto Trait Implementations§
impl<'a, Q> Freeze for GetContinuationsQuery<'a, Q>
impl<'a, Q> RefUnwindSafe for GetContinuationsQuery<'a, Q>where
Q: RefUnwindSafe,
impl<'a, Q> Send for GetContinuationsQuery<'a, Q>where
Q: Sync,
impl<'a, Q> Sync for GetContinuationsQuery<'a, Q>where
Q: Sync,
impl<'a, Q> Unpin for GetContinuationsQuery<'a, Q>
impl<'a, Q> UnwindSafe for GetContinuationsQuery<'a, Q>where
Q: RefUnwindSafe,
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> 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 more