Skip to main content

Card

Struct Card 

Source
pub struct Card { /* private fields */ }

Implementations§

Source§

impl Card

Source

pub fn create( req: &CreateCardRequest, options: &Options, ) -> Result<Card, Box<dyn Error>>

Source

pub fn delete( req: &DeleteCardRequest, options: &Options, ) -> Result<Card, Box<dyn Error>>

Source

pub fn set_external_id<T: Into<String>>(&mut self, external_id: T)

Source

pub fn set_email<T: Into<String>>(&mut self, email: T)

Source

pub fn set_card_user_key<T: Into<String>>(&mut self, card_user_key: T)

Source

pub fn set_card_token<T: Into<String>>(&mut self, card_token: T)

Source

pub fn set_card_alias<T: Into<String>>(&mut self, card_alias: T)

Source

pub fn set_bin_number<T: Into<String>>(&mut self, bin_number: T)

Source

pub fn set_last_four_digits<T: Into<String>>(&mut self, last_four_digits: T)

Source

pub fn set_card_type<T: Into<String>>(&mut self, card_type: T)

Source

pub fn set_card_association<T: Into<String>>(&mut self, card_association: T)

Source

pub fn set_card_family<T: Into<String>>(&mut self, card_family: T)

Source

pub fn set_card_bank_code<T: Into<i64>>(&mut self, card_bank_code: T)

Source

pub fn set_card_bank_name<T: Into<String>>(&mut self, card_bank_name: T)

Source

pub fn set_card_holder_name<T: Into<String>>(&mut self, card_holder_name: T)

Source

pub fn set_expire_month<T: Into<String>>(&mut self, expire_month: T)

Source

pub fn set_expire_year<T: Into<String>>(&mut self, expire_year: T)

Source

pub fn external_id(&self) -> Option<&String>

Source

pub fn email(&self) -> Option<&String>

Source

pub fn card_user_key(&self) -> Option<&String>

Source

pub fn card_token(&self) -> Option<&String>

Source

pub fn card_alias(&self) -> Option<&String>

Source

pub fn bin_number(&self) -> Option<&String>

Source

pub fn last_four_digits(&self) -> Option<&String>

Source

pub fn card_type(&self) -> Option<&String>

Source

pub fn card_association(&self) -> Option<&String>

Source

pub fn card_family(&self) -> Option<&String>

Source

pub fn card_bank_code(&self) -> Option<&i64>

Source

pub fn card_bank_name(&self) -> Option<&String>

Source

pub fn card_holder_name(&self) -> Option<&String>

Source

pub fn expire_month(&self) -> Option<&String>

Source

pub fn expire_year(&self) -> Option<&String>

Methods from Deref<Target = IyzipayResource>§

Source

pub fn status(&self) -> Option<&String>

Source

pub fn error_code(&self) -> Option<&String>

Source

pub fn error_message(&self) -> Option<&String>

Source

pub fn error_group(&self) -> Option<&String>

Source

pub fn locale(&self) -> Option<&String>

Source

pub fn system_time(&self) -> Option<&i64>

Source

pub fn conversation_id(&self) -> Option<&String>

Trait Implementations§

Source§

impl Debug for Card

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Card

Source§

fn default() -> Card

Returns the “default value” for a type. Read more
Source§

impl Deref for Card

Source§

type Target = IyzipayResource

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<'de> Deserialize<'de> for Card

Source§

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 Card

Source§

fn eq(&self, other: &Card) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Card

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,