pub struct CardInformation { /* private fields */ }Implementations§
Source§impl CardInformation
impl CardInformation
pub fn new() -> Self
pub fn set_card_alias<S: Into<String>>(&mut self, card_alias: S)
pub fn set_card_number<S: Into<String>>(&mut self, card_number: S)
pub fn set_expire_year<S: Into<String>>(&mut self, expire_year: S)
pub fn set_expire_month<S: Into<String>>(&mut self, expire_month: S)
pub fn set_card_holder_name<S: Into<String>>(&mut self, card_holder_name: S)
Trait Implementations§
Source§impl Clone for CardInformation
impl Clone for CardInformation
Source§fn clone(&self) -> CardInformation
fn clone(&self) -> CardInformation
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 CardInformation
impl Debug for CardInformation
Source§impl Default for CardInformation
impl Default for CardInformation
Source§fn default() -> CardInformation
fn default() -> CardInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CardInformation
impl<'de> Deserialize<'de> for CardInformation
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
Source§impl PKISerialize for CardInformation
impl PKISerialize for CardInformation
Auto Trait Implementations§
impl Freeze for CardInformation
impl RefUnwindSafe for CardInformation
impl Send for CardInformation
impl Sync for CardInformation
impl Unpin for CardInformation
impl UnsafeUnpin for CardInformation
impl UnwindSafe for CardInformation
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