[][src]Struct stripe::SetupIntentId

pub struct SetupIntentId(_);

An id for the corresponding object type.

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

Implementations

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

impl Clone for SetupIntentId[src]

impl Debug for SetupIntentId[src]

impl Deref for SetupIntentId[src]

type Target = str

The resulting type after dereferencing.

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

impl Display for SetupIntentId[src]

impl Eq for SetupIntentId[src]

impl FromStr for SetupIntentId[src]

type Err = ParseIdError

The associated error which can be returned from parsing.

impl Hash for SetupIntentId[src]

impl Ord for SetupIntentId[src]

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

impl PartialEq<SetupIntentId> for SetupIntentId[src]

impl PartialEq<String> for SetupIntentId[src]

impl PartialEq<str> for SetupIntentId[src]

impl PartialOrd<SetupIntentId> for SetupIntentId[src]

impl Serialize for SetupIntentId[src]

impl StructuralEq for SetupIntentId[src]

impl StructuralPartialEq for SetupIntentId[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.