pub struct BranchProtectionRuleEditedChanges { /* private fields */ }
Implementations§
Source§impl BranchProtectionRuleEditedChanges
impl BranchProtectionRuleEditedChanges
pub fn admin_enforced<T>(self, value: T) -> Self
pub fn allow_deletions_enforcement_level<T>(self, value: T) -> Self
pub fn allow_force_pushes_enforcement_level<T>(self, value: T) -> Self
pub fn dismiss_stale_reviews_on_push<T>(self, value: T) -> Selfwhere
T: TryInto<Option<BranchProtectionRuleEditedChangesDismissStaleReviewsOnPush>>,
T::Error: Display,
pub fn linear_history_requirement_enforcement_level<T>(self, value: T) -> Self
pub fn pull_request_reviews_enforcement_level<T>(self, value: T) -> Self
pub fn require_code_owner_review<T>(self, value: T) -> Selfwhere
T: TryInto<Option<BranchProtectionRuleEditedChangesRequireCodeOwnerReview>>,
T::Error: Display,
pub fn required_approving_review_count<T>(self, value: T) -> Self
pub fn required_conversation_resolution_level<T>(self, value: T) -> Self
pub fn required_deployments_enforcement_level<T>(self, value: T) -> Self
pub fn required_status_checks<T>(self, value: T) -> Self
pub fn required_status_checks_enforcement_level<T>(self, value: T) -> Self
pub fn signature_requirement_enforcement_level<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for BranchProtectionRuleEditedChanges
impl Clone for BranchProtectionRuleEditedChanges
Source§fn clone(&self) -> BranchProtectionRuleEditedChanges
fn clone(&self) -> BranchProtectionRuleEditedChanges
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 From<BranchProtectionRuleEditedChanges> for BranchProtectionRuleEditedChanges
impl From<BranchProtectionRuleEditedChanges> for BranchProtectionRuleEditedChanges
Source§fn from(value: BranchProtectionRuleEditedChanges) -> Self
fn from(value: BranchProtectionRuleEditedChanges) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BranchProtectionRuleEditedChanges
impl RefUnwindSafe for BranchProtectionRuleEditedChanges
impl Send for BranchProtectionRuleEditedChanges
impl Sync for BranchProtectionRuleEditedChanges
impl Unpin for BranchProtectionRuleEditedChanges
impl UnwindSafe for BranchProtectionRuleEditedChanges
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