Enum wechatpay::TradeType [] [src]

pub enum TradeType {
    Micro,
    Jsapi,
    Native,
    Qrcode,
    App,
}

[交易类型]

Variants

Micro

MICRO

Jsapi

JSAPI

Native

NATIVE

QrcodeApp

APP : app支付,统一下单接口trade_type的传参可参考这里

Trait Implementations

impl ToString for TradeType
[src]

fn to_string(&self) -> String

Converts the given value to a String. Read more

impl PartialEq for TradeType
[src]

fn eq(&self, __arg_0: &TradeType) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.