[][src]Trait gitlab::api::Query

pub trait Query<T, C> where
    C: Client
{ fn query(&self, client: &C) -> Result<T, ApiError<C::Error>>; }

A trait which represents a query which may be made to a GitLab client.

Required methods

fn query(&self, client: &C) -> Result<T, ApiError<C::Error>>

Perform the query against the client.

Loading content...

Implementors

impl<E, C> Query<(), C> for Ignore<E> where
    E: Endpoint,
    C: Client
[src]

impl<E, C> Query<Vec<u8>, C> for Raw<E> where
    E: Endpoint,
    C: Client
[src]

impl<E, T, C> Query<Vec<T>, C> for Paged<E> where
    E: Endpoint,
    E: Pageable,
    T: DeserializeOwned,
    C: Client
[src]

impl<E, T, C> Query<T, C> for E where
    E: Endpoint,
    T: DeserializeOwned,
    C: Client
[src]

Loading content...