Struct labrador::WeChatPayRequest
source · [−]pub struct WeChatPayRequest {Show 16 fields
pub appid: Option<String>,
pub trade_type: TradeType,
pub mch_id: String,
pub openid: String,
pub notify_url: Option<String>,
pub body: String,
pub detail: String,
pub attach: String,
pub out_trade_no: String,
pub total_fee: String,
pub spbill_create_ip: String,
pub sign: String,
pub nonce_str: Option<String>,
pub device_info: String,
pub product_id: String,
pub auth_code: String,
}Fields
appid: Option<String>trade_type: TradeType交易类型
mch_id: String商户号
openid: String用户号
notify_url: Option<String>通知地址
body: String签名类型 商品描述
detail: String商品详情
attach: String附加数据
out_trade_no: String商户订单号
total_fee: String标价金额
spbill_create_ip: String终端IP
sign: String签名
nonce_str: Option<String>加密字符串
device_info: String设备信息
product_id: String商品ID
auth_code: String无
Implementations
Trait Implementations
sourceimpl Debug for WeChatPayRequest
Available on crate feature wechat only.
impl Debug for WeChatPayRequest
Available on crate feature
wechat only.sourceimpl<'de> Deserialize<'de> for WeChatPayRequest
Available on crate feature wechat only.
impl<'de> Deserialize<'de> for WeChatPayRequest
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 WeChatPayRequest
Available on crate feature wechat only.
impl Serialize for WeChatPayRequest
Available on crate feature
wechat only.Auto Trait Implementations
impl RefUnwindSafe for WeChatPayRequest
impl Send for WeChatPayRequest
impl Sync for WeChatPayRequest
impl Unpin for WeChatPayRequest
impl UnwindSafe for WeChatPayRequest
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