[−][src]Struct heroku_rs::endpoints::account::Credit
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Credit
[src]
impl HerokuEndpoint<Credit, (), AccountCreditCreateParams> for AccountCreditCreate
[src]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<AccountCreditCreateParams>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl PartialEq<Credit> for Credit
[src]
impl Serialize for Credit
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,