[][src]Struct heroku_rs::endpoints::slugs::Slug

pub struct Slug {
    pub blob: Blob,
    pub buildpack_provided_description: Option<String>,
    pub checksum: Option<String>,
    pub commit: Option<String>,
    pub commit_description: Option<String>,
    pub created_at: DateTime<Utc>,
    pub id: String,
    pub process_types: Option<HashMap<String, String>>,
    pub size: Option<i64>,
    pub stack: Stack,
    pub updated_at: DateTime<Utc>,
}

Slug

Stability: production

A slug is a snapshot of your application code that is ready to run on the platform.

For more information please refer to the Heroku documentation

Fields

blob: Blob

slug blob

buildpack_provided_description: Option<String>

description from buildpack of slug

checksum: Option<String>

an optional checksum of the slug for verifying its integrity

commit: Option<String>

identification of the code with your version control system (eg: SHA of the git HEAD)

commit_description: Option<String>

an optional description of the provided commit

created_at: DateTime<Utc>

when slug was created

id: String

unique identifier of slug

process_types: Option<HashMap<String, String>>

hash mapping process type names to their respective command

size: Option<i64>

size of slug, in bytes

stack: Stack

stack

updated_at: DateTime<Utc>

when slug was updated

Trait Implementations

impl ApiResult for Slug[src]

impl Clone for Slug[src]

impl Debug for Slug[src]

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

impl Eq for Slug[src]

impl HerokuEndpoint<Slug, (), ()> for SlugDetails[src]

impl HerokuEndpoint<Slug, (), SlugCreateParams> for SlugCreate[src]

impl PartialEq<Slug> for Slug[src]

impl Serialize for Slug[src]

impl StructuralEq for Slug[src]

impl StructuralPartialEq for Slug[src]

Auto Trait Implementations

impl RefUnwindSafe for Slug

impl Send for Slug

impl Sync for Slug

impl Unpin for Slug

impl UnwindSafe for Slug

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.