pub struct Card {
pub id: String,
pub entity: String,
pub name: String,
pub last4: String,
pub network: String,
pub card_type: String,
pub issuer: Option<String>,
pub international: Option<bool>,
pub emi: bool,
pub sub_type: Option<String>,
}
Fields§
§id: String
§entity: String
§name: String
§last4: String
§network: String
§card_type: String
§issuer: Option<String>
§international: Option<bool>
§emi: bool
§sub_type: Option<String>
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 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