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§
Sourcefn merge_commit(&self) -> Option<String>
fn merge_commit(&self) -> Option<String>
Merge commit SHA.
Implementors§
impl RemotePullRequest for BitbucketPullRequest
Available on crate feature
bitbucket
only.impl RemotePullRequest for GiteaPullRequest
Available on crate feature
gitea
only.impl RemotePullRequest for GitHubPullRequest
Available on crate feature
github
only.impl RemotePullRequest for GitLabMergeRequest
Available on crate feature
gitlab
only.