[][src]Struct stripe::AccountId

pub struct AccountId(_);

An id for the corresponding object type.

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

Implementations

impl AccountId[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 AccountId[src]

impl Clone for AccountId[src]

impl Debug for AccountId[src]

impl Deref for AccountId[src]

type Target = str

The resulting type after dereferencing.

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

impl Display for AccountId[src]

impl Eq for AccountId[src]

impl From<AccountId> for PaymentSourceId[src]

impl FromStr for AccountId[src]

type Err = ParseIdError

The associated error which can be returned from parsing.

impl Hash for AccountId[src]

impl Ord for AccountId[src]

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

impl PartialEq<AccountId> for AccountId[src]

impl PartialEq<String> for AccountId[src]

impl PartialEq<str> for AccountId[src]

impl PartialOrd<AccountId> for AccountId[src]

impl Serialize for AccountId[src]

impl StructuralEq for AccountId[src]

impl StructuralPartialEq for AccountId[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.