pub struct BitbucketPrClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl PrClient for BitbucketPrClient
impl PrClient for BitbucketPrClient
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 BitbucketPrClient
impl RefUnwindSafe for BitbucketPrClient
impl Send for BitbucketPrClient
impl Sync for BitbucketPrClient
impl Unpin for BitbucketPrClient
impl UnsafeUnpin for BitbucketPrClient
impl UnwindSafe for BitbucketPrClient
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