[][src]Struct stripe::CardTokenId

pub struct CardTokenId(_);

An id for the corresponding object type.

This type typically will not allocate and therefore is usually cheaply clonable.

Methods

impl CardTokenId[src]

pub fn prefix() -> &'static str[src]

The prefix of the id type (e.g. cus_ for a CustomerId).

pub fn as_str(&self) -> &str[src]

Extracts a string slice containing the entire id.

Trait Implementations

impl AsRef<str> for CardTokenId[src]

impl Eq for CardTokenId[src]

impl Clone for CardTokenId[src]

impl PartialOrd<CardTokenId> for CardTokenId[src]

impl Ord for CardTokenId[src]

impl PartialEq<CardTokenId> for CardTokenId[src]

impl PartialEq<str> for CardTokenId[src]

impl<'_> PartialEq<&'_ str> for CardTokenId[src]

impl PartialEq<String> for CardTokenId[src]

impl From<CardTokenId> for TokenId[src]

impl Hash for CardTokenId[src]

impl Deref for CardTokenId[src]

type Target = str

The resulting type after dereferencing.

impl Display for CardTokenId[src]

impl Debug for CardTokenId[src]

impl FromStr for CardTokenId[src]

type Err = ParseIdError

The associated error which can be returned from parsing.

impl Serialize for CardTokenId[src]

impl<'de> Deserialize<'de> for CardTokenId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self