pub struct GiteaClient {
pub allow_insecure: bool,
/* private fields */
}Fields§
§allow_insecure: boolImplementations§
Trait Implementations§
Source§impl RemoteGitEngine for GiteaClient
impl RemoteGitEngine for GiteaClient
fn connect(&self, owner: &str, repo: &str) -> Result<()>
fn get_commits_since( &self, owner: &str, repo: &str, since_sha: Option<&str>, branch: &str, ) -> Result<Vec<Commit>>
fn get_pull_request(&self, owner: &str, repo: &str) -> Result<Option<usize>>
fn create_pull_request( &self, owner: &str, repo: &str, version: &str, body: &str, base: &str, ) -> Result<usize>
fn update_pull_request( &self, owner: &str, repo: &str, version: &str, body: &str, index: usize, ) -> Result<usize>
fn create_release( &self, owner: &str, repo: &str, version: &str, body: &str, prerelease: bool, ) -> Result<Release>
Auto Trait Implementations§
impl Freeze for GiteaClient
impl RefUnwindSafe for GiteaClient
impl Send for GiteaClient
impl Sync for GiteaClient
impl Unpin for GiteaClient
impl UnsafeUnpin for GiteaClient
impl UnwindSafe for GiteaClient
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