[−][src]Struct heroku_rs::endpoints::slugs::post::SlugCreate
Create Slug
Create a new slug. For more information please refer to ]Deploying Slugs using the Platform API.](https://devcenter.heroku.com/articles/platform-api-deploying-slugs)
See Heroku documentation for more information about this endpoint
Fields
app_id: String
app_id is the unique app identifier.
params: SlugCreateParams
The parameters to pass to the Heroku API
Methods
impl SlugCreate
[src]
pub fn new(
app_id: String,
process_types: HashMap<String, String>,
buildpack_provided_description: Option<String>,
checksum: Option<String>,
commit: Option<String>,
commit_description: Option<String>,
stack: Option<String>
) -> SlugCreate
[src]
app_id: String,
process_types: HashMap<String, String>,
buildpack_provided_description: Option<String>,
checksum: Option<String>,
commit: Option<String>,
commit_description: Option<String>,
stack: Option<String>
) -> SlugCreate
pub fn create(
app_id: String,
process_types: HashMap<String, String>
) -> SlugCreate
[src]
app_id: String,
process_types: HashMap<String, String>
) -> SlugCreate
Trait Implementations
impl HerokuEndpoint<Slug, (), SlugCreateParams> for SlugCreate
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlugCreate
impl Send for SlugCreate
impl Sync for SlugCreate
impl Unpin for SlugCreate
impl UnwindSafe for SlugCreate
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,