pub struct OverridePullRequestApprovalRulesInput {
pub override_status: String,
pub pull_request_id: String,
pub revision_id: String,
}Fields§
§override_status: StringWhether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.
pull_request_id: StringThe system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.
revision_id: StringThe system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.
Trait Implementations§
Source§impl Clone for OverridePullRequestApprovalRulesInput
impl Clone for OverridePullRequestApprovalRulesInput
Source§fn clone(&self) -> OverridePullRequestApprovalRulesInput
fn clone(&self) -> OverridePullRequestApprovalRulesInput
Returns a duplicate 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 Default for OverridePullRequestApprovalRulesInput
impl Default for OverridePullRequestApprovalRulesInput
Source§fn default() -> OverridePullRequestApprovalRulesInput
fn default() -> OverridePullRequestApprovalRulesInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for OverridePullRequestApprovalRulesInput
impl PartialEq for OverridePullRequestApprovalRulesInput
Source§fn eq(&self, other: &OverridePullRequestApprovalRulesInput) -> bool
fn eq(&self, other: &OverridePullRequestApprovalRulesInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OverridePullRequestApprovalRulesInput
Auto Trait Implementations§
impl Freeze for OverridePullRequestApprovalRulesInput
impl RefUnwindSafe for OverridePullRequestApprovalRulesInput
impl Send for OverridePullRequestApprovalRulesInput
impl Sync for OverridePullRequestApprovalRulesInput
impl Unpin for OverridePullRequestApprovalRulesInput
impl UnwindSafe for OverridePullRequestApprovalRulesInput
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