Trait BranchProtectionOpsExt
Source pub trait BranchProtectionOpsExt {
// Required methods
fn create_branch_protection<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
repo: &'life2 str,
branch: &'life3 str,
protection_data: &'life4 CreateBranchProtectionRequest,
) -> Pin<Box<dyn Future<Output = Result<GitHubBranchProtection>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
fn update_branch_protection<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
repo: &'life2 str,
branch: &'life3 str,
protection_data: &'life4 CreateBranchProtectionRequest,
) -> Pin<Box<dyn Future<Output = Result<GitHubBranchProtection>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
fn delete_branch_protection<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
repo: &'life2 str,
branch: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}