Struct aws_sdk_codecommit::input::UpdatePullRequestApprovalStateInput [−][src]
#[non_exhaustive]pub struct UpdatePullRequestApprovalStateInput {
pub pull_request_id: Option<String>,
pub revision_id: Option<String>,
pub approval_state: Option<ApprovalState>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
revision_id: Option<String>The system-generated ID of the revision.
approval_state: Option<ApprovalState>The approval state to associate with the user on the pull request.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdatePullRequestApprovalState, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdatePullRequestApprovalState, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdatePullRequestApprovalState>
Creates a new builder-style object to manufacture UpdatePullRequestApprovalStateInput
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 UpdatePullRequestApprovalStateInput
impl Sync for UpdatePullRequestApprovalStateInput
impl Unpin for UpdatePullRequestApprovalStateInput
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