pub struct Card { /* private fields */ }Implementations§
Source§impl Card
impl Card
pub fn create( req: &CreateCardRequest, options: &Options, ) -> Result<Card, Box<dyn Error>>
pub fn delete( req: &DeleteCardRequest, options: &Options, ) -> Result<Card, Box<dyn Error>>
pub fn set_external_id<T: Into<String>>(&mut self, external_id: T)
pub fn set_email<T: Into<String>>(&mut self, email: T)
pub fn set_card_user_key<T: Into<String>>(&mut self, card_user_key: T)
pub fn set_card_token<T: Into<String>>(&mut self, card_token: T)
pub fn set_card_alias<T: Into<String>>(&mut self, card_alias: T)
pub fn set_bin_number<T: Into<String>>(&mut self, bin_number: T)
pub fn set_last_four_digits<T: Into<String>>(&mut self, last_four_digits: T)
pub fn set_card_type<T: Into<String>>(&mut self, card_type: T)
pub fn set_card_association<T: Into<String>>(&mut self, card_association: T)
pub fn set_card_family<T: Into<String>>(&mut self, card_family: T)
pub fn set_card_bank_code<T: Into<i64>>(&mut self, card_bank_code: T)
pub fn set_card_bank_name<T: Into<String>>(&mut self, card_bank_name: T)
pub fn set_card_holder_name<T: Into<String>>(&mut self, card_holder_name: T)
pub fn set_expire_month<T: Into<String>>(&mut self, expire_month: T)
pub fn set_expire_year<T: Into<String>>(&mut self, expire_year: T)
pub fn external_id(&self) -> Option<&String>
pub fn email(&self) -> Option<&String>
pub fn card_user_key(&self) -> Option<&String>
pub fn card_token(&self) -> Option<&String>
pub fn card_alias(&self) -> Option<&String>
pub fn bin_number(&self) -> Option<&String>
pub fn last_four_digits(&self) -> Option<&String>
pub fn card_type(&self) -> Option<&String>
pub fn card_association(&self) -> Option<&String>
pub fn card_family(&self) -> Option<&String>
pub fn card_bank_code(&self) -> Option<&i64>
pub fn card_bank_name(&self) -> Option<&String>
pub fn card_holder_name(&self) -> Option<&String>
pub fn expire_month(&self) -> Option<&String>
pub fn expire_year(&self) -> Option<&String>
Methods from Deref<Target = IyzipayResource>§
pub fn status(&self) -> Option<&String>
pub fn error_code(&self) -> Option<&String>
pub fn error_message(&self) -> Option<&String>
pub fn error_group(&self) -> Option<&String>
pub fn locale(&self) -> Option<&String>
pub fn system_time(&self) -> Option<&i64>
pub fn conversation_id(&self) -> 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
impl StructuralPartialEq for Card
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnsafeUnpin 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