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