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<CipherCardModel> for CipherCardModel
impl PartialEq<CipherCardModel> for CipherCardModel
source§fn eq(&self, other: &CipherCardModel) -> bool
fn eq(&self, other: &CipherCardModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.