Trait RemotePullRequest

Source
pub trait RemotePullRequest: DynClone {
    // Required methods
    fn number(&self) -> i64;
    fn title(&self) -> Option<String>;
    fn labels(&self) -> Vec<String>;
    fn merge_commit(&self) -> Option<String>;
}
Available on crate feature remote only.
Expand description

Trait for handling remote pull requests.

Required Methods§

Source

fn number(&self) -> i64

Number.

Source

fn title(&self) -> Option<String>

Title.

Source

fn labels(&self) -> Vec<String>

Labels of the pull request.

Source

fn merge_commit(&self) -> Option<String>

Merge commit SHA.

Implementors§

Source§

impl RemotePullRequest for BitbucketPullRequest

Available on crate feature bitbucket only.
Source§

impl RemotePullRequest for GiteaPullRequest

Available on crate feature gitea only.
Source§

impl RemotePullRequest for GitHubPullRequest

Available on crate feature github only.
Source§

impl RemotePullRequest for GitLabMergeRequest

Available on crate feature gitlab only.