[][src]Crate gitea

Structs

Attachment

An attachment to a release, such as a pre-built package. https://try.gitea.io/api/swagger#model-Attachment

Client

The gitea client that all gitea calls will go through. This wraps reqwest::Client and operates asyncronously.

CreateRelease

The inputs to create a repository release. https://try.gitea.io/api/swagger#model-CreateReleaseOption

CreateRepo

Inputs to create a gitea repo. https://try.gitea.io/api/swagger#model-CreateRepoOption

Permissions

The permission set that a given user has on a Repo. https://try.gitea.io/api/swagger#model-Permission

Release

A repository release. https://try.gitea.io/api/swagger#model-Release

Repo

A git repository. https://try.gitea.io/api/swagger#model-Repository

User

A user. https://try.gitea.io/api/swagger#model-User

Version

The version of Gitea. https://try.gitea.io/api/swagger#model-ServerVersion

Enums

Error

Error represents all of the possible errors that can happen with the Gitea API. Most of these errors boil down to user error.

Type Definitions

Result

A handy alias for Result like anyhow::Result.