pub enum TradeState {
SUCCESS,
REFUND,
NOTPAY,
CLOSED,
REVOKED,
USERPAYING,
PAYERROR,
None,
}Variants§
SUCCESS
支付成功
REFUND
转入退款
NOTPAY
未支付
CLOSED
已关闭
REVOKED
已撤销(仅付款码支付会返回)
USERPAYING
用户支付中(仅付款码支付会返回)
PAYERROR
支付失败(仅付款码支付会返回)
None
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TradeState
impl RefUnwindSafe for TradeState
impl Send for TradeState
impl Sync for TradeState
impl Unpin for TradeState
impl UnwindSafe for TradeState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more