Struct labrador::JdOrderQueryResp
source · [−]pub struct JdOrderQueryResp {
pub finish_time: Option<u64>,
pub order_emt: Option<u8>,
pub plus: Option<u8>,
pub order_id: Option<u64>,
pub order_time: Option<u64>,
pub parent_id: Option<u64>,
pub union_id: Option<u64>,
pub pop_id: Option<u64>,
pub pay_month: Option<String>,
pub ext1: Option<String>,
pub valid_code: Option<u8>,
pub sku_list: Option<SkuInfo>,
}Fields
finish_time: Option<u64>订单完成时间((购买用户确认收货时间)时间戳,毫秒)
order_emt: Option<u8>下单设备(1:PC,2:无线)
plus: Option<u8>下单用户是否为PLUS会员 0:否,1:是
order_id: Option<u64>订单ID
order_time: Option<u64>下单时间(时间戳,毫秒)
parent_id: Option<u64>父单的订单号:如某个订单因为仓储物流或其它原因拆成多笔订单时,拆分前的原订单号会作为父单号存储在该字段中 拆分出的新订单号作为子单号存储在orderid中,若未发生拆单,该字段为0
union_id: Option<u64>推客的联盟ID
pop_id: Option<u64>订单维度商家ID,不建议使用,可以用订单行sku维度popId参考
pay_month: Option<String>订单维度预估结算时间,不建议使用,可以用订单行sku维度paymonth字段参考 (格式:yyyyMMdd),0:未结算,订单’预估结算时间’仅供参考。账号未通过资质审核或订单发生售后,会影响订单实际结算时间。
ext1: Option<String>订单维度的推客生成推广链接时传入的扩展字段,不建议使用 可以用订单行sku维度ext1参考,(需要联系运营开放白名单才能拿到数据)
valid_code: Option<u8>sku维度的有效码 (-1:未知,2.无效-拆单,3.无效-取消,4.无效-京东帮帮主订单,5.无效-账号异常,6.无效-赠品类目不返佣,7.无效-校园订单 8.无效-企业订单,9.无效-团购订单,11.无效-乡村推广员下单,13.无效-违规订单 14.无效-来源与备案网址不符,15.待付款,16.已付款,17.已完成(购买用户确认收货),20.无效-此复购订单对应的首购订单无效,21.无效-云店订单
sku_list: Option<SkuInfo>订单包含的商品信息列表
Trait Implementations
sourceimpl Debug for JdOrderQueryResp
Available on crate feature jd only.
impl Debug for JdOrderQueryResp
jd only.sourceimpl<'de> Deserialize<'de> for JdOrderQueryResp
Available on crate feature jd only.
impl<'de> Deserialize<'de> for JdOrderQueryResp
jd only.sourcefn 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
sourceimpl Serialize for JdOrderQueryResp
Available on crate feature jd only.
impl Serialize for JdOrderQueryResp
jd only.Auto Trait Implementations
impl RefUnwindSafe for JdOrderQueryResp
impl Send for JdOrderQueryResp
impl Sync for JdOrderQueryResp
impl Unpin for JdOrderQueryResp
impl UnwindSafe for JdOrderQueryResp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more