gen_api_wrapper/
endpoint_prelude.rs

1// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
4// option. This file may not be copied, modified, or distributed
5// except according to those terms.
6//
7// Originally from https://gitlab.kitware.com/utils/rust-gitlab
8//
9// Modified in an attempt to make it general beyond just gitlab
10
11//! Endpoint prelude
12//!
13//! This module re-exports all of the types needed for endpoints to implement the
14//! [`Endpoint`](../trait.Endpoint.html) trait.
15
16pub use std::borrow::Cow;
17
18pub use http::Method;
19
20pub use crate::client::Client;
21pub use crate::endpoint::Endpoint;
22pub use crate::error::BodyError;
23pub use crate::params::FormParams;
24pub use crate::params::QueryParams;