#[non_exhaustive]pub struct StartDeploymentInput {
pub app_id: Option<String>,
pub branch_name: Option<String>,
pub job_id: Option<String>,
pub source_url: Option<String>,
}Expand description
The request structure for the start a deployment request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app_id: Option<String>The unique ID for an Amplify app.
branch_name: Option<String>The name of the branch to use for the job.
job_id: Option<String>The job ID for this deployment, generated by the create deployment request.
source_url: Option<String>The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
Implementations§
source§impl StartDeploymentInput
impl StartDeploymentInput
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the branch to use for the job.
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The job ID for this deployment, generated by the create deployment request.
sourcepub fn source_url(&self) -> Option<&str>
pub fn source_url(&self) -> Option<&str>
The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
source§impl StartDeploymentInput
impl StartDeploymentInput
sourcepub fn builder() -> StartDeploymentInputBuilder
pub fn builder() -> StartDeploymentInputBuilder
Creates a new builder-style object to manufacture StartDeploymentInput.
Trait Implementations§
source§impl Clone for StartDeploymentInput
impl Clone for StartDeploymentInput
source§fn clone(&self) -> StartDeploymentInput
fn clone(&self) -> StartDeploymentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartDeploymentInput
impl Debug for StartDeploymentInput
source§impl PartialEq for StartDeploymentInput
impl PartialEq for StartDeploymentInput
impl StructuralPartialEq for StartDeploymentInput
Auto Trait Implementations§
impl Freeze for StartDeploymentInput
impl RefUnwindSafe for StartDeploymentInput
impl Send for StartDeploymentInput
impl Sync for StartDeploymentInput
impl Unpin for StartDeploymentInput
impl UnwindSafe for StartDeploymentInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more