Struct aws_sdk_codecommit::operation::get_pull_request_override_state::GetPullRequestOverrideStateInput
source · #[non_exhaustive]pub struct GetPullRequestOverrideStateInput {
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 ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
revision_id: Option<String>The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
Implementations§
source§impl GetPullRequestOverrideStateInput
impl GetPullRequestOverrideStateInput
sourcepub fn pull_request_id(&self) -> Option<&str>
pub fn pull_request_id(&self) -> Option<&str>
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
source§impl GetPullRequestOverrideStateInput
impl GetPullRequestOverrideStateInput
sourcepub fn builder() -> GetPullRequestOverrideStateInputBuilder
pub fn builder() -> GetPullRequestOverrideStateInputBuilder
Creates a new builder-style object to manufacture GetPullRequestOverrideStateInput.
Trait Implementations§
source§impl Clone for GetPullRequestOverrideStateInput
impl Clone for GetPullRequestOverrideStateInput
source§fn clone(&self) -> GetPullRequestOverrideStateInput
fn clone(&self) -> GetPullRequestOverrideStateInput
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 GetPullRequestOverrideStateInput
impl PartialEq for GetPullRequestOverrideStateInput
source§fn eq(&self, other: &GetPullRequestOverrideStateInput) -> bool
fn eq(&self, other: &GetPullRequestOverrideStateInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetPullRequestOverrideStateInput
Auto Trait Implementations§
impl RefUnwindSafe for GetPullRequestOverrideStateInput
impl Send for GetPullRequestOverrideStateInput
impl Sync for GetPullRequestOverrideStateInput
impl Unpin for GetPullRequestOverrideStateInput
impl UnwindSafe for GetPullRequestOverrideStateInput
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.