Struct labrador::WeChatQueryRefundResponse
source · [−]pub struct WeChatQueryRefundResponse {Show 18 fields
pub appid: Option<String>,
pub mch_id: String,
pub sign: String,
pub transaction_id: String,
pub out_trade_no: String,
pub total_fee: i64,
pub settlement_total_fee: Option<i64>,
pub fee_type: Option<String>,
pub cash_fee: i64,
pub refund_count: i64,
pub promotion_detail: Option<String>,
pub nonce_str: Option<String>,
pub result_code: String,
pub return_code: String,
pub return_msg: String,
pub refund_fee: String,
pub err_code: Option<String>,
pub err_code_des: Option<String>,
}Fields
appid: Option<String>mch_id: String商户号
sign: String签名
transaction_id: String微信交易编号
out_trade_no: String商户订单编号
total_fee: i64订单总金额,单位为分,只能为整数,详见支付金额
settlement_total_fee: Option<i64>应结订单金额=订单金额-非充值代金券金额,应结订单金额<=订单金额。
fee_type: Option<String>订单金额货币类型,符合ISO 4217标准的三位字母代码,默认人民币:CNY,其他值列表详见货币类型
cash_fee: i64现金支付金额,单位为分,只能为整数,详见支付金额
refund_count: i64退款笔数
promotion_detail: Option<String>营销详情
nonce_str: Option<String>加密字符串
result_code: String业务结果
return_code: Stringreturn_msg: String返回结果
refund_fee: String退款金额
err_code: Option<String>错误码
err_code_des: Option<String>Implementations
sourceimpl WeChatQueryRefundResponse
impl WeChatQueryRefundResponse
pub fn parse_xml(xml: String) -> LabradorResult<Self>
Available on crate feature
wechat only.Trait Implementations
sourceimpl Debug for WeChatQueryRefundResponse
Available on crate feature wechat only.
impl Debug for WeChatQueryRefundResponse
Available on crate feature
wechat only.sourceimpl<'de> Deserialize<'de> for WeChatQueryRefundResponse
Available on crate feature wechat only.
impl<'de> Deserialize<'de> for WeChatQueryRefundResponse
Available on crate feature
wechat 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 WeChatQueryRefundResponse
Available on crate feature wechat only.
impl Serialize for WeChatQueryRefundResponse
Available on crate feature
wechat only.Auto Trait Implementations
impl RefUnwindSafe for WeChatQueryRefundResponse
impl Send for WeChatQueryRefundResponse
impl Sync for WeChatQueryRefundResponse
impl Unpin for WeChatQueryRefundResponse
impl UnwindSafe for WeChatQueryRefundResponse
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