pub struct Card {
pub amount: i32,
pub issuer_code: CardCode,
pub acquirer_code: Option<CardCode>,
pub number: String,
pub installment_plan_months: u8,
pub approve_no: String,
pub use_card_point: bool,
pub card_type: CardType,
pub owner_type: OwnerType,
pub acquire_status: AcquireStatus,
pub is_interest_free: bool,
pub interest_payer: Option<InterestPayer>,
}
Fields§
§amount: i32
§issuer_code: CardCode
§acquirer_code: Option<CardCode>
§number: String
§installment_plan_months: u8
§approve_no: String
§use_card_point: bool
§card_type: CardType
§owner_type: OwnerType
§acquire_status: AcquireStatus
§is_interest_free: bool
§interest_payer: Option<InterestPayer>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Card
impl<'de> Deserialize<'de> for Card
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 Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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