pub struct GitHubPrClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl PrClient for GitHubPrClient
impl PrClient for GitHubPrClient
fn create( &self, owner: &str, repo: &str, opts: CreatePrOptions, ) -> Result<PullRequest>
fn list(&self, owner: &str, repo: &str, state: &str) -> Result<Vec<PullRequest>>
fn get(&self, owner: &str, repo: &str, number: u64) -> Result<PullRequest>
fn merge( &self, owner: &str, repo: &str, number: u64, method: MergeMethod, ) -> Result<()>
fn close(&self, owner: &str, repo: &str, number: u64) -> Result<()>
fn update( &self, owner: &str, repo: &str, number: u64, opts: UpdatePrOptions, ) -> Result<()>
fn delete_branch(&self, owner: &str, repo: &str, branch: &str) -> Result<()>
fn checkout_branch(&self, pr: &PullRequest) -> String
Auto Trait Implementations§
impl Freeze for GitHubPrClient
impl RefUnwindSafe for GitHubPrClient
impl Send for GitHubPrClient
impl Sync for GitHubPrClient
impl Unpin for GitHubPrClient
impl UnsafeUnpin for GitHubPrClient
impl UnwindSafe for GitHubPrClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more