pub struct ProtectedBranchRequiredPullRequestReviews {
pub url: String,
pub dismiss_stale_reviews: Option<bool>,
pub require_code_owner_reviews: Option<bool>,
pub required_approving_review_count: Option<i32>,
pub require_last_push_approval: Option<bool>,
pub dismissal_restrictions: Option<Box<ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions>>,
pub bypass_pull_request_allowances: Option<Box<ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances>>,
}
Fields§
§url: String
§dismiss_stale_reviews: Option<bool>
§require_code_owner_reviews: Option<bool>
§required_approving_review_count: Option<i32>
§require_last_push_approval: Option<bool>
Whether the most recent push must be approved by someone other than the person who pushed it.
dismissal_restrictions: Option<Box<ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions>>
§bypass_pull_request_allowances: Option<Box<ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances>>
Implementations§
Trait Implementations§
Source§impl Clone for ProtectedBranchRequiredPullRequestReviews
impl Clone for ProtectedBranchRequiredPullRequestReviews
Source§fn clone(&self) -> ProtectedBranchRequiredPullRequestReviews
fn clone(&self) -> ProtectedBranchRequiredPullRequestReviews
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 ProtectedBranchRequiredPullRequestReviews
impl Default for ProtectedBranchRequiredPullRequestReviews
Source§fn default() -> ProtectedBranchRequiredPullRequestReviews
fn default() -> ProtectedBranchRequiredPullRequestReviews
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectedBranchRequiredPullRequestReviews
impl<'de> Deserialize<'de> for ProtectedBranchRequiredPullRequestReviews
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProtectedBranchRequiredPullRequestReviews
impl PartialEq for ProtectedBranchRequiredPullRequestReviews
Source§fn eq(&self, other: &ProtectedBranchRequiredPullRequestReviews) -> bool
fn eq(&self, other: &ProtectedBranchRequiredPullRequestReviews) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProtectedBranchRequiredPullRequestReviews
Auto Trait Implementations§
impl Freeze for ProtectedBranchRequiredPullRequestReviews
impl RefUnwindSafe for ProtectedBranchRequiredPullRequestReviews
impl Send for ProtectedBranchRequiredPullRequestReviews
impl Sync for ProtectedBranchRequiredPullRequestReviews
impl Unpin for ProtectedBranchRequiredPullRequestReviews
impl UnwindSafe for ProtectedBranchRequiredPullRequestReviews
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