Struct aws_sdk_codecommit::operation::get_pull_request_approval_states::GetPullRequestApprovalStatesInput
source · #[non_exhaustive]pub struct GetPullRequestApprovalStatesInput {
pub pull_request_id: Option<String>,
pub revision_id: Option<String>,
}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 for the pull request.
revision_id: Option<String>The system-generated ID for the pull request revision.
Implementations§
source§impl GetPullRequestApprovalStatesInput
impl GetPullRequestApprovalStatesInput
sourcepub fn pull_request_id(&self) -> Option<&str>
pub fn pull_request_id(&self) -> Option<&str>
The system-generated ID for the pull request.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The system-generated ID for the pull request revision.
source§impl GetPullRequestApprovalStatesInput
impl GetPullRequestApprovalStatesInput
sourcepub fn builder() -> GetPullRequestApprovalStatesInputBuilder
pub fn builder() -> GetPullRequestApprovalStatesInputBuilder
Creates a new builder-style object to manufacture GetPullRequestApprovalStatesInput.
Trait Implementations§
source§impl Clone for GetPullRequestApprovalStatesInput
impl Clone for GetPullRequestApprovalStatesInput
source§fn clone(&self) -> GetPullRequestApprovalStatesInput
fn clone(&self) -> GetPullRequestApprovalStatesInput
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 for GetPullRequestApprovalStatesInput
impl PartialEq for GetPullRequestApprovalStatesInput
source§fn eq(&self, other: &GetPullRequestApprovalStatesInput) -> bool
fn eq(&self, other: &GetPullRequestApprovalStatesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetPullRequestApprovalStatesInput
Auto Trait Implementations§
impl RefUnwindSafe for GetPullRequestApprovalStatesInput
impl Send for GetPullRequestApprovalStatesInput
impl Sync for GetPullRequestApprovalStatesInput
impl Unpin for GetPullRequestApprovalStatesInput
impl UnwindSafe for GetPullRequestApprovalStatesInput
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
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>
Creates a shared type from an unshared type.