[−][src]Module bodhi::data
This module contains the data types that are needed to deserialize bodhi server responses which are also public outside this crate. Some internal data types for queries are implemented in the corresponding query module.
Additionally, the bodhi REST API has some arguments that accept Strings, but only from a limited set of enumerated values. To abstract this, the corresponding query filters accept some of the enum types defined here, instead of the String arguments directly.
Structs
Bug | This struct represents a specific BugZilla bug that is associated with an update. |
BugFeedback | This struct represents an update feedback item associated with a specific bug. |
Build | This struct represents a specific koji build that bodhi is aware of. |
Comment | This struct represents one comment against a specific update, along with its associated bug and test case feedback. |
Group | This struct represents a group from the fedora accounts system (FAS). |
Override | This struct represents a buildroot override, along with the associated build. |
Package | This struct represents a specific fedora package. |
Release | This struct represents a fedora release as present in the bodhi database. This includes variants (Modular, Container, Flatpak), identified with the "C", "F", and "M" suffixes. |
TestCase | This struct represents a specific test case as associated with a given test case feedback and update. |
TestCaseFeedback | This struct represents an update feedback item associated with a specific test case. |
Update | This struct represents a bodhi update, with associated items: bugs, builds, comments, release, status, submitter, etc. |
User | This struct represents a specific fedora user. |
Enums
ContentType | This enum represents the content type of a bodhi update. |
FedoraRelease | This enum represents a fedora release. |
Karma | |
UpdateID | |
UpdateRequest | This enum represents a requested state change of an update. |
UpdateSeverity | This enum represents the associated severity of a bodhi update. |
UpdateStatus | This enum represents the current state of a bodhi update. |
UpdateSuggestion | This enum represents the associated suggested action for a bodhi update. |
UpdateType | This enum represents the type of a bodhi update. |
Constants
FEDORA_BODHI_STG_URL | base URL of the fedora bodhi staging instance |
FEDORA_BODHI_URL | base URL of the fedora bodhi instance |