pub struct OrdersList {
pub orders: Vec<Order>,
pub next_token: Option<String>,
pub last_updated_before: Option<String>,
pub created_before: Option<String>,
}Expand description
OrdersList : A list of orders along with additional information to make subsequent API calls.
Fields§
§orders: Vec<Order>A list of orders.
next_token: Option<String>When present and not empty, pass this string token in the next request to return the next response page.
last_updated_before: Option<String>Use this date to select orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. Use ISO 8601 format for all dates.
created_before: Option<String>Use this date to select orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
Implementations§
Source§impl OrdersList
impl OrdersList
Sourcepub fn new(orders: Vec<Order>) -> OrdersList
pub fn new(orders: Vec<Order>) -> OrdersList
A list of orders along with additional information to make subsequent API calls.
Trait Implementations§
Source§impl Clone for OrdersList
impl Clone for OrdersList
Source§fn clone(&self) -> OrdersList
fn clone(&self) -> OrdersList
Returns a duplicate of the value. Read more
1.0.0 · 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 OrdersList
impl Debug for OrdersList
Source§impl Default for OrdersList
impl Default for OrdersList
Source§fn default() -> OrdersList
fn default() -> OrdersList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrdersList
impl<'de> Deserialize<'de> for OrdersList
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
Source§impl PartialEq for OrdersList
impl PartialEq for OrdersList
Source§impl Serialize for OrdersList
impl Serialize for OrdersList
impl StructuralPartialEq for OrdersList
Auto Trait Implementations§
impl Freeze for OrdersList
impl RefUnwindSafe for OrdersList
impl Send for OrdersList
impl Sync for OrdersList
impl Unpin for OrdersList
impl UnsafeUnpin for OrdersList
impl UnwindSafe for OrdersList
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