[][src]Module bodhi::query

This module contains all the REST API query wrappers that attempt to map the REST-y API to an idiomatic Rust API, using builder patterns to construct complex queries.

For example, the bodhi REST API accepts Sequence arguments for certain keywords, which have to be encoded as comma-separated lists of Strings. The Rust API abstracts this as with methods on the query that accept normal Strings and then construct the comma-separated lists on demand.

Re-exports

pub use builds::BuildNVRQuery;
pub use builds::BuildQuery;
pub use comments::CommentIDQuery;
pub use comments::CommentQuery;
pub use composes::ComposeQuery;
pub use composes::ComposeReleaseRequestQuery;
pub use csrf::CSRFQuery;
pub use overrides::OverrideNVRQuery;
pub use overrides::OverrideQuery;
pub use packages::PackageQuery;
pub use releases::ReleaseNameQuery;
pub use releases::ReleaseQuery;
pub use updates::UpdateIDQuery;
pub use updates::UpdateQuery;
pub use users::UserNameQuery;
pub use users::UserQuery;

Modules

builds

The contents of this module can be used to query a bodhi instance about existing builds.

comments

The contents of this module can be used to query a bodhi instance about existing comments.

composes

The contents of this module can be used to query a bodhi instance for running composes.

csrf

The contents of this module can be used to query a bodhi instance for a new CSRF token.

overrides

The contents of this module can be used to query a bodhi instance about existing buildroot overrides.

packages

The contents of this module can be used to query a bodhi instance about existing packages.

releases

The contents of this module can be used to query a bodhi instance about existing releases.

updates

The contents of this module can be used to query a bodhi instance about existing updates.

users

The contents of this module can be used to query a bodhi instance about the user accounts it knows.