pub struct JsonQueryBuilder<Field, Sort, Value>{ /* private fields */ }Implementations§
Source§impl<Field, Sort, Value> JsonQueryBuilder<Field, Sort, Value>
impl<Field, Sort, Value> JsonQueryBuilder<Field, Sort, Value>
pub fn compact_filters(self) -> Self
pub fn count(self) -> Self
pub fn fields(self, fields: impl Into<FieldSet<Field>>) -> Self
pub fn filters(self, filter: JsonQueryFilter) -> Self
pub fn normalized_filters(self) -> Self
pub fn page(self, page: u16) -> Self
pub fn raw_fields<I>(self, fields: I) -> Selfwhere
I: IntoIterator<Item = String>,
pub fn results(self, results: u8) -> Self
pub fn reverse(self) -> Self
pub fn sort(self, sort: Sort) -> Self
pub fn user(self, user: impl Into<UserId>) -> Self
pub async fn send(self) -> Result<Value>
Auto Trait Implementations§
impl<Field, Sort, Value> Freeze for JsonQueryBuilder<Field, Sort, Value>where
Sort: Freeze,
impl<Field, Sort, Value> !RefUnwindSafe for JsonQueryBuilder<Field, Sort, Value>
impl<Field, Sort, Value> Send for JsonQueryBuilder<Field, Sort, Value>
impl<Field, Sort, Value> !Sync for JsonQueryBuilder<Field, Sort, Value>
impl<Field, Sort, Value> Unpin for JsonQueryBuilder<Field, Sort, Value>
impl<Field, Sort, Value> UnsafeUnpin for JsonQueryBuilder<Field, Sort, Value>where
Sort: UnsafeUnpin,
impl<Field, Sort, Value> !UnwindSafe for JsonQueryBuilder<Field, Sort, Value>
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