pub struct CipherCardModel {
pub cardholder_name: Option<String>,
pub brand: Option<String>,
pub number: Option<String>,
pub exp_month: Option<String>,
pub exp_year: Option<String>,
pub code: Option<String>,
}
Fields§
§cardholder_name: Option<String>
§brand: Option<String>
§number: Option<String>
§exp_month: Option<String>
§exp_year: Option<String>
§code: Option<String>
Implementations§
Source§impl CipherCardModel
impl CipherCardModel
pub fn new() -> CipherCardModel
Trait Implementations§
Source§impl Clone for CipherCardModel
impl Clone for CipherCardModel
Source§fn clone(&self) -> CipherCardModel
fn clone(&self) -> CipherCardModel
Returns a copy 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 CipherCardModel
impl Debug for CipherCardModel
Source§impl Default for CipherCardModel
impl Default for CipherCardModel
Source§fn default() -> CipherCardModel
fn default() -> CipherCardModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CipherCardModel
impl<'de> Deserialize<'de> for CipherCardModel
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 PartialEq for CipherCardModel
impl PartialEq for CipherCardModel
Source§impl Serialize for CipherCardModel
impl Serialize for CipherCardModel
impl StructuralPartialEq for CipherCardModel
Auto Trait Implementations§
impl Freeze for CipherCardModel
impl RefUnwindSafe for CipherCardModel
impl Send for CipherCardModel
impl Sync for CipherCardModel
impl Unpin for CipherCardModel
impl UnwindSafe for CipherCardModel
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