Docs.rs
wechatpay-0.1.4
wechatpay 0.1.4
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
TheWaWaR
Dependencies
curl ^0.3.2
normal
md5 ^0.2.0
normal
time ^0.1
normal
url ^1.2.0
normal
uuid ^0.2
normal
xml-rs ^0.3.4
normal
Versions
58.82%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
wechatpay
0.1.4
All Items
Crate Items
Structs
Enums
Functions
Type Aliases
Crate
wechatpay
Copy item path
Source
Structs
§
Wechatpay
Client
API Client
Enums
§
Bank
Type
银行类型
Order
Identifier
订单标识
Trade
Type
[交易类型]
Wechatpay
Error
错误类
Functions
§
from_
xml_
str
将
xml
数据解析成
BTreeMap
get_
nonce_
str
[生成随机数算法]
get_
order_
no
[商户订单号]
get_
sign
签名算法 (给请求参数签名)
get_
time_
str
[时间]
get_
timestamp
[时间戳]
get_
trade_
amount
[交易金额]
to_
xml_
str
使用
BTreeMap
生成
xml
数据
Type Aliases
§
Wechatpay
Result
API 请求结果