wx-sdk 0.0.9

A Wechat SDK written in Rust
Documentation
use std::path::Path;


/// 公众号接口SDK,由于 Rust Doc 中还无法搜索中文,请直接搜索相关请求 url 中的关键信息,例如 `clear_quota`为接口限额清零接口。
#[derive(Clone)]
pub struct PaySdk {
    pub(crate) config: PaySdkConfig,
}

#[derive(Clone)]
pub struct PaySdkConfig {
    mch_id: String,
    mch_certificate_serial_number: String,
    mch_apiv3_key: String,
    mch_private_key: String,
}

impl PaySdkConfig {
    pub fn new<S: Into<String>>(mch_id: S, mch_certificate_serial_number: S, 
    mch_apiv3_key: S, mch_private_path: S) {

    }
}