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