Trait SlackIntegrationApi

Source
pub trait SlackIntegrationApi: Send + Sync {
    // Required methods
    fn create<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        code: Option<&'a str>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn redirect<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<RedirectError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, code: Option<&'a str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{organizationId}/integrations/slack/create

Source

fn redirect<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RedirectError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{organizationId}/integrations/slack/redirect

Implementors§