Trait baipiao_bot_rust::Bot[][src]

pub trait Bot: Send + Sync {
#[must_use]    fn on_issue_created<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: IssueCreatedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_issue_updated<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: IssueUpdatedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_issue_closed<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _issue_id: usize
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_issue_reopened<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: IssueReopenedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_pull_request_created<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: PullRequestCreatedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_pull_request_updated<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: PullRequestUpdatedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_pull_request_closed<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _pull_request_id: usize
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_comment_created<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: CommentCreatedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_comment_updated<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _event: CommentUpdatedEvent
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
#[must_use] fn on_comment_deleted<'life0, 'async_trait>(
        &'life0 self,
        _repo: Repository,
        _comment_id: usize
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... } }

Provided methods

#[must_use]fn on_issue_created<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: IssueCreatedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_issue_updated<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: IssueUpdatedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_issue_closed<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _issue_id: usize
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_issue_reopened<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: IssueReopenedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_pull_request_created<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: PullRequestCreatedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_pull_request_updated<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: PullRequestUpdatedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_pull_request_closed<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _pull_request_id: usize
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_comment_created<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: CommentCreatedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_comment_updated<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _event: CommentUpdatedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn on_comment_deleted<'life0, 'async_trait>(
    &'life0 self,
    _repo: Repository,
    _comment_id: usize
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...