Skip to main content

CollaboratorOpsExt

Trait CollaboratorOpsExt 

Source
pub trait CollaboratorOpsExt {
    // Required methods
    fn add_collaborator<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        owner: &'life1 str,
        repo: &'life2 str,
        username: &'life3 str,
        permission_data: &'life4 AddCollaboratorRequest,
    ) -> 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,
             'life4: 'async_trait;
    fn update_collaborator_permission<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        owner: &'life1 str,
        repo: &'life2 str,
        username: &'life3 str,
        permission_data: &'life4 AddCollaboratorRequest,
    ) -> 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,
             'life4: 'async_trait;
    fn remove_collaborator<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        owner: &'life1 str,
        repo: &'life2 str,
        username: &'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;
    fn add_team_to_repository<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        owner: &'life1 str,
        repo: &'life2 str,
        team_slug: &'life3 str,
        permission_data: &'life4 AddTeamCollaboratorRequest,
    ) -> 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,
             'life4: 'async_trait;
    fn update_team_permission<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        owner: &'life1 str,
        repo: &'life2 str,
        team_slug: &'life3 str,
        permission_data: &'life4 AddTeamCollaboratorRequest,
    ) -> 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,
             'life4: 'async_trait;
    fn remove_team_from_repository<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        owner: &'life1 str,
        repo: &'life2 str,
        team_slug: &'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;
}

Required Methods§

Source

fn add_collaborator<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, username: &'life3 str, permission_data: &'life4 AddCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source

fn update_collaborator_permission<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, username: &'life3 str, permission_data: &'life4 AddCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source

fn remove_collaborator<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, username: &'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,

Source

fn add_team_to_repository<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, team_slug: &'life3 str, permission_data: &'life4 AddTeamCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source

fn update_team_permission<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, team_slug: &'life3 str, permission_data: &'life4 AddTeamCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source

fn remove_team_from_repository<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, team_slug: &'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,

Implementations on Foreign Types§

Source§

impl CollaboratorOpsExt for Octocrab

Source§

fn add_collaborator<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, username: &'life3 str, permission_data: &'life4 AddCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source§

fn update_collaborator_permission<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, username: &'life3 str, permission_data: &'life4 AddCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source§

fn remove_collaborator<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, username: &'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,

Source§

fn add_team_to_repository<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, team_slug: &'life3 str, permission_data: &'life4 AddTeamCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source§

fn update_team_permission<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, team_slug: &'life3 str, permission_data: &'life4 AddTeamCollaboratorRequest, ) -> 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, 'life4: 'async_trait,

Source§

fn remove_team_from_repository<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, owner: &'life1 str, repo: &'life2 str, team_slug: &'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,

Implementors§