Struct aws_sdk_codecommit::input::UpdatePullRequestStatusInput [−][src]
#[non_exhaustive]pub struct UpdatePullRequestStatusInput {
pub pull_request_id: Option<String>,
pub pull_request_status: Option<PullRequestStatusEnum>,
}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.pull_request_id: Option<String>The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pull_request_status: Option<PullRequestStatusEnum>The status of the pull request. The only valid operations are to update the status
from OPEN to OPEN, OPEN to CLOSED or
from CLOSED to CLOSED.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdatePullRequestStatus, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdatePullRequestStatus, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdatePullRequestStatus>
Creates a new builder-style object to manufacture UpdatePullRequestStatusInput
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
The status of the pull request. The only valid operations are to update the status
from OPEN to OPEN, OPEN to CLOSED or
from CLOSED to CLOSED.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for UpdatePullRequestStatusInput
impl Sync for UpdatePullRequestStatusInput
impl Unpin for UpdatePullRequestStatusInput
impl UnwindSafe for UpdatePullRequestStatusInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more