pub struct CardTokenResponse {
pub card_token_id: String,
pub card: Card,
pub public_key: Option<String>,
pub live_mode: bool,
pub luhn_validation: bool,
pub require_esc: bool,
pub status: String,
}Fields§
§card_token_id: String§card: Card§public_key: Option<String>Public key that was used to create this token.
Only populated if public_key was passed to create a token first.
live_mode: bool§luhn_validation: bool§require_esc: bool§status: StringTrait Implementations§
Source§impl Clone for CardTokenResponse
impl Clone for CardTokenResponse
Source§fn clone(&self) -> CardTokenResponse
fn clone(&self) -> CardTokenResponse
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 CardTokenResponse
impl Debug for CardTokenResponse
Source§impl<'de> Deserialize<'de> for CardTokenResponse
impl<'de> Deserialize<'de> for CardTokenResponse
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 CardTokenResponse
impl PartialEq for CardTokenResponse
Source§impl Serialize for CardTokenResponse
impl Serialize for CardTokenResponse
impl StructuralPartialEq for CardTokenResponse
Auto Trait Implementations§
impl Freeze for CardTokenResponse
impl RefUnwindSafe for CardTokenResponse
impl Send for CardTokenResponse
impl Sync for CardTokenResponse
impl Unpin for CardTokenResponse
impl UnwindSafe for CardTokenResponse
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