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