pub struct PaymentInfo {
pub method: Option<String>,
pub bank_name: Option<String>,
pub account_number: Option<String>,
pub routing_number: Option<String>,
pub iban: Option<String>,
pub swift_code: Option<String>,
pub reference: Option<String>,
}Expand description
付款信息结构体
Fields§
§method: Option<String>付款方式(如:银行转账、信用卡、支票等)
bank_name: Option<String>银行名称
account_number: Option<String>银行账号
routing_number: Option<String>银行路由号(美国银行系统)
iban: Option<String>国际银行账号(IBAN)
swift_code: Option<String>SWIFT/BIC 代码(国际汇款)
reference: Option<String>付款参考号/备注
Trait Implementations§
Source§impl Clone for PaymentInfo
impl Clone for PaymentInfo
Source§fn clone(&self) -> PaymentInfo
fn clone(&self) -> PaymentInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaymentInfo
impl Debug for PaymentInfo
Source§impl Default for PaymentInfo
impl Default for PaymentInfo
Source§fn default() -> PaymentInfo
fn default() -> PaymentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentInfo
impl<'de> Deserialize<'de> for PaymentInfo
Source§fn 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
Auto Trait Implementations§
impl Freeze for PaymentInfo
impl RefUnwindSafe for PaymentInfo
impl Send for PaymentInfo
impl Sync for PaymentInfo
impl Unpin for PaymentInfo
impl UnwindSafe for PaymentInfo
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