Struct aws_sdk_codecommit::operation::update_pull_request_approval_state::UpdatePullRequestApprovalStateInput
source · #[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§
source§impl UpdatePullRequestApprovalStateInput
impl UpdatePullRequestApprovalStateInput
sourcepub fn pull_request_id(&self) -> Option<&str>
pub fn pull_request_id(&self) -> Option<&str>
The system-generated ID of the pull request.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The system-generated ID of the revision.
sourcepub fn approval_state(&self) -> Option<&ApprovalState>
pub fn approval_state(&self) -> Option<&ApprovalState>
The approval state to associate with the user on the pull request.
source§impl UpdatePullRequestApprovalStateInput
impl UpdatePullRequestApprovalStateInput
sourcepub fn builder() -> UpdatePullRequestApprovalStateInputBuilder
pub fn builder() -> UpdatePullRequestApprovalStateInputBuilder
Creates a new builder-style object to manufacture UpdatePullRequestApprovalStateInput.
Trait Implementations§
source§impl Clone for UpdatePullRequestApprovalStateInput
impl Clone for UpdatePullRequestApprovalStateInput
source§fn clone(&self) -> UpdatePullRequestApprovalStateInput
fn clone(&self) -> UpdatePullRequestApprovalStateInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<UpdatePullRequestApprovalStateInput> for UpdatePullRequestApprovalStateInput
impl PartialEq<UpdatePullRequestApprovalStateInput> for UpdatePullRequestApprovalStateInput
source§fn eq(&self, other: &UpdatePullRequestApprovalStateInput) -> bool
fn eq(&self, other: &UpdatePullRequestApprovalStateInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePullRequestApprovalStateInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePullRequestApprovalStateInput
impl Send for UpdatePullRequestApprovalStateInput
impl Sync for UpdatePullRequestApprovalStateInput
impl Unpin for UpdatePullRequestApprovalStateInput
impl UnwindSafe for UpdatePullRequestApprovalStateInput
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
Mutably borrows from an owned value. Read more