#[non_exhaustive]pub struct OrderPage {
pub orders: Vec<Order>,
pub total_count: Option<i32>,
}Expand description
One page returned by Client::query_orders.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.orders: Vec<Order>Orders in provider-selected page order.
total_count: Option<i32>Total matching order count when requested and supplied by the provider.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderPage
impl<'de> Deserialize<'de> for OrderPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for OrderPage
Auto Trait Implementations§
impl Freeze for OrderPage
impl RefUnwindSafe for OrderPage
impl Send for OrderPage
impl Sync for OrderPage
impl Unpin for OrderPage
impl UnsafeUnpin for OrderPage
impl UnwindSafe for OrderPage
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