pub struct SourcehutPrClient;Implementations§
Trait Implementations§
Source§impl PrClient for SourcehutPrClient
impl PrClient for SourcehutPrClient
fn create( &self, _o: &str, _r: &str, _opts: CreatePrOptions, ) -> Result<PullRequest>
fn list(&self, _o: &str, _r: &str, _state: &str) -> Result<Vec<PullRequest>>
fn get(&self, _o: &str, _r: &str, _n: u64) -> Result<PullRequest>
fn merge(&self, _o: &str, _r: &str, _n: u64, _m: MergeMethod) -> Result<()>
fn close(&self, _o: &str, _r: &str, _n: u64) -> Result<()>
fn update( &self, _o: &str, _r: &str, _n: u64, _opts: UpdatePrOptions, ) -> Result<()>
fn delete_branch(&self, _o: &str, _r: &str, _b: &str) -> Result<()>
fn checkout_branch(&self, pr: &PullRequest) -> String
Auto Trait Implementations§
impl Freeze for SourcehutPrClient
impl RefUnwindSafe for SourcehutPrClient
impl Send for SourcehutPrClient
impl Sync for SourcehutPrClient
impl Unpin for SourcehutPrClient
impl UnsafeUnpin for SourcehutPrClient
impl UnwindSafe for SourcehutPrClient
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