pub struct ListQuery<T: Clone + ToString = FilterPageToken> {
pub page_size: i32,
pub page_token: Option<T>,
pub filter: Filter,
pub ordering: Ordering,
}Expand description
Represents a list query. List queries list paged, filtered and ordered items.
Fields§
§page_size: i32Page size.
page_token: Option<T>Page token.
filter: FilterFilter.
ordering: OrderingOrdering.
Implementations§
Trait Implementations§
Source§impl<T: PartialEq + Clone + ToString> PartialEq for ListQuery<T>
impl<T: PartialEq + Clone + ToString> PartialEq for ListQuery<T>
impl<T: Clone + ToString> StructuralPartialEq for ListQuery<T>
Auto Trait Implementations§
impl<T> Freeze for ListQuery<T>where
T: Freeze,
impl<T> RefUnwindSafe for ListQuery<T>where
T: RefUnwindSafe,
impl<T> Send for ListQuery<T>where
T: Send,
impl<T> Sync for ListQuery<T>where
T: Sync,
impl<T> Unpin for ListQuery<T>where
T: Unpin,
impl<T> UnsafeUnpin for ListQuery<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ListQuery<T>where
T: UnwindSafe,
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> 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, U> RequestParseInto<U> for Twhere
U: RequestParse<T>,
impl<T, U> RequestParseInto<U> for Twhere
U: RequestParse<T>,
Source§fn parse_into(self) -> Result<U, RequestError>
fn parse_into(self) -> Result<U, RequestError>
Parses self into another type. Read more