pub struct OrderQuery {
pub profile: Option<String>,
pub account_id: Option<String>,
pub status: Option<OrderStatus>,
pub limit: i64,
pub offset: i64,
}Expand description
The filters and page window Order::search applies.
Every field is optional except the window, and an absent filter imposes no
constraint — so OrderQuery { limit, offset, .. } alone is “the newest
page across every endpoint”.
Fields§
§profile: Option<String>§account_id: Option<String>§status: Option<OrderStatus>§limit: i64Rows per page. The caller clamps this (admin.page_size_max); this
layer takes what it is given.
offset: i64Trait Implementations§
Source§impl Clone for OrderQuery
impl Clone for OrderQuery
Source§fn clone(&self) -> OrderQuery
fn clone(&self) -> OrderQuery
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 OrderQuery
impl Debug for OrderQuery
Source§impl Default for OrderQuery
impl Default for OrderQuery
Source§fn default() -> OrderQuery
fn default() -> OrderQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OrderQuery
impl RefUnwindSafe for OrderQuery
impl Send for OrderQuery
impl Sync for OrderQuery
impl Unpin for OrderQuery
impl UnsafeUnpin for OrderQuery
impl UnwindSafe for OrderQuery
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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