[][src]Struct heroku_rs::endpoints::account::Credit

pub struct Credit {
    pub amount: i64,
    pub balance: i64,
    pub created_at: String,
    pub expires_at: String,
    pub id: String,
    pub title: String,
    pub updated_at: String,
}

Credit

Stability: development

A credit represents value that will be used up before further charges are assigned to an account.

See Heroku documentation for more information about this endpoint

Fields

amount: i64

total value of credit in cents

balance: i64

remaining value of credit in cents

created_at: String

when credit was created

expires_at: String

when credit will expire

id: String

unique identifier of credit

title: String

a name for credit

updated_at: String

when credit was updated

Trait Implementations

impl ApiResult for Credit[src]

impl Clone for Credit[src]

impl Debug for Credit[src]

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

impl Eq for Credit[src]

impl HerokuEndpoint<Credit, (), AccountCreditCreateParams> for AccountCreditCreate[src]

impl PartialEq<Credit> for Credit[src]

impl Serialize for Credit[src]

impl StructuralEq for Credit[src]

impl StructuralPartialEq for Credit[src]

Auto Trait Implementations

impl RefUnwindSafe for Credit

impl Send for Credit

impl Sync for Credit

impl Unpin for Credit

impl UnwindSafe for Credit

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.