pub struct GiteaAt<'a, R: ProcessRunner = JobRunner> { /* private fields */ }Expand description
Implementations§
Source§impl<'a, R: ProcessRunner> GiteaAt<'a, R>
impl<'a, R: ProcessRunner> GiteaAt<'a, R>
Sourcepub async fn run_raw(&self, args: &[String]) -> Result<ProcessResult<String>>
pub async fn run_raw(&self, args: &[String]) -> Result<ProcessResult<String>>
Bound form of Gitea’s run_raw.
Sourcepub async fn run_raw_args(&self, args: &[&str]) -> Result<ProcessResult<String>>
pub async fn run_raw_args(&self, args: &[&str]) -> Result<ProcessResult<String>>
Bound form of Gitea’s run_raw_args.
Sourcepub async fn auth_status(&self) -> Result<bool>
pub async fn auth_status(&self) -> Result<bool>
Bound form of Gitea’s auth_status.
Sourcepub async fn pr_list(&self) -> Result<Vec<PullRequest>>
pub async fn pr_list(&self) -> Result<Vec<PullRequest>>
Bound form of Gitea’s pr_list (with dir pre-bound).
Sourcepub async fn pr_view(&self, number: u64) -> Result<PullRequest>
pub async fn pr_view(&self, number: u64) -> Result<PullRequest>
Bound form of Gitea’s pr_view (with dir pre-bound).
Sourcepub async fn pr_create(&self, spec: PrCreate) -> Result<String>
pub async fn pr_create(&self, spec: PrCreate) -> Result<String>
Bound form of Gitea’s pr_create (with dir pre-bound).
Sourcepub async fn pr_merge(&self, number: u64, strategy: MergeStrategy) -> Result<()>
pub async fn pr_merge(&self, number: u64, strategy: MergeStrategy) -> Result<()>
Bound form of Gitea’s pr_merge (with dir pre-bound).
Sourcepub async fn pr_close(&self, number: u64) -> Result<()>
pub async fn pr_close(&self, number: u64) -> Result<()>
Bound form of Gitea’s pr_close (with dir pre-bound).
Sourcepub async fn issue_list(&self) -> Result<Vec<Issue>>
pub async fn issue_list(&self) -> Result<Vec<Issue>>
Bound form of Gitea’s issue_list (with dir pre-bound).
Sourcepub async fn issue_view(&self, number: u64) -> Result<Issue>
pub async fn issue_view(&self, number: u64) -> Result<Issue>
Bound form of Gitea’s issue_view (with dir pre-bound).
Trait Implementations§
Source§impl<R: ProcessRunner> Clone for GiteaAt<'_, R>
impl<R: ProcessRunner> Clone for GiteaAt<'_, R>
impl<R: ProcessRunner> Copy for GiteaAt<'_, R>
Auto Trait Implementations§
impl<'a, R> Freeze for GiteaAt<'a, R>
impl<'a, R> RefUnwindSafe for GiteaAt<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for GiteaAt<'a, R>
impl<'a, R> Sync for GiteaAt<'a, R>
impl<'a, R> Unpin for GiteaAt<'a, R>
impl<'a, R> UnsafeUnpin for GiteaAt<'a, R>
impl<'a, R> UnwindSafe for GiteaAt<'a, R>where
R: RefUnwindSafe,
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