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