pub struct Card {
pub id: Uuid,
pub company_id: Option<Uuid>,
pub user_id: Uuid,
pub type: CardType,
pub status: CardStatus,
pub limit: Option<CardLimit>,
pub last4: String,
pub expiration_month: String,
pub expiration_year: String,
pub token_wallets: Option<Vec<String>>,
}Expand description
Response for card
Fields§
§id: Uuid§company_id: Option<Uuid>§user_id: Uuid§type: CardType§status: CardStatus§limit: Option<CardLimit>§last4: String§expiration_month: String§expiration_year: String§token_wallets: Option<Vec<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 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