Structs§
- Represents a commit in a repository. This struct is a subset of the full commit object. It does not include the affected files, parent commits or commit stats (additions and deletions).
- Represents information about a user in the context of a commit.
- Represents the actual commit object in the underlying git repository. This struct is a subset of the full commit object. It does not include the full commit tree or commit verification.
- Represents a Gitea repository. This struct is a subset of the full repository object. Some fields the API provides (like external trackers) are not included here.
Enums§
- Represents the format of the object in the repository. Defaults to ObjectFormatName::SHA1. SHA1 is more widely supported, but SHA256 is more secure.
- Represents the trust model for verifying commits in the repository. Defaults to TrustModel::Default (obviously). This determines when signatures are considered “trusted”.