Struct pdd::requests::PddOrderBasicListGet
source · pub struct PddOrderBasicListGet {
pub end_confirm_at: Option<i32>,
pub order_status: Option<i32>,
pub page: Option<i32>,
pub page_size: Option<i32>,
pub refund_status: Option<i32>,
pub start_confirm_at: Option<i32>,
pub trade_type: Option<i32>,
pub use_has_next: Option<bool>,
}Expand description
根据成团时间查询订单列表,只有订单基础信息,不包含消费者信息
Fields§
§end_confirm_at: Option<i32>必填,成交时间结束时间的时间戳,指格林威治时间 1970 年 01 月 01 日 00 时 00 分 00 秒(北京时间 1970 年 01 月 01 日 08 时 00 分 00 秒)起至现在的总秒数 PS:开始时间结束时间间距不超过 24 小时
order_status: Option<i32>发货状态,1:待发货,2:已发货待签收,3:已签收 5:全部
page: Option<i32>返回页码 默认 1,页码从 1 开始 PS:当前采用分页返回,数量和页数会一起传,如果不传,则采用 默认值
page_size: Option<i32>返回数量,默认 100。最大 100
refund_status: Option<i32>售后状态 1:无售后或售后关闭,2:售后处理中,3:退款中,4: 退款成功 5:全部
start_confirm_at: Option<i32>必填,成交时间开始时间的时间戳,指格林威治时间 1970 年 01 月 01 日 00 时 00 分 00 秒(北京时间 1970 年 01 月 01 日 08 时 00 分 00 秒)起至现在的总秒数
trade_type: Option<i32>订单类型 0-普通订单 ,1- 定金订单
use_has_next: Option<bool>是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量交易,效率在原有的基础上有80%的提升。
Trait Implementations§
source§impl Debug for PddOrderBasicListGet
impl Debug for PddOrderBasicListGet
source§impl Default for PddOrderBasicListGet
impl Default for PddOrderBasicListGet
source§fn default() -> PddOrderBasicListGet
fn default() -> PddOrderBasicListGet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PddOrderBasicListGet
impl<'de> Deserialize<'de> for PddOrderBasicListGet
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 Request for PddOrderBasicListGet
impl Request for PddOrderBasicListGet
Auto Trait Implementations§
impl RefUnwindSafe for PddOrderBasicListGet
impl Send for PddOrderBasicListGet
impl Sync for PddOrderBasicListGet
impl Unpin for PddOrderBasicListGet
impl UnwindSafe for PddOrderBasicListGet
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