pub struct BranchProtectionRule { /* private fields */ }
Implementations§
Source§impl BranchProtectionRule
impl BranchProtectionRule
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 create_protected<T>(self, value: T) -> Self
pub fn created_at<T>(self, value: T) -> Self
pub fn dismiss_stale_reviews_on_push<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn ignore_approvals_from_contributors<T>(self, value: T) -> Self
pub fn linear_history_requirement_enforcement_level<T>(self, value: T) -> Self
pub fn merge_queue_enforcement_level<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn pull_request_reviews_enforcement_level<T>(self, value: T) -> Self
pub fn repository_id<T>(self, value: T) -> Self
pub fn require_code_owner_review<T>(self, value: T) -> Self
pub fn require_last_push_approval<T>(self, value: T) -> Self
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
pub fn strict_required_status_checks_policy<T>(self, value: T) -> Self
pub fn updated_at<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for BranchProtectionRule
impl Clone for BranchProtectionRule
Source§fn clone(&self) -> BranchProtectionRule
fn clone(&self) -> BranchProtectionRule
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 Debug for BranchProtectionRule
impl Debug for BranchProtectionRule
Source§impl Default for BranchProtectionRule
impl Default for BranchProtectionRule
Source§impl From<BranchProtectionRule> for BranchProtectionRule
impl From<BranchProtectionRule> for BranchProtectionRule
Source§fn from(value: BranchProtectionRule) -> Self
fn from(value: BranchProtectionRule) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BranchProtectionRule
impl RefUnwindSafe for BranchProtectionRule
impl Send for BranchProtectionRule
impl Sync for BranchProtectionRule
impl Unpin for BranchProtectionRule
impl UnwindSafe for BranchProtectionRule
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