openstack_sdk::api

Trait RawQuery

Source
pub trait RawQuery<C>
where C: Client,
{ // Required method fn raw_query( &self, client: &C, ) -> Result<Response<Bytes>, ApiError<C::Error>>; }
Expand description

A trait which represents a synchronous query which may be made to a OpenStack service API client and return http response. It does know nothing about required authorization, which is handled by the client. It can be used for special cases where headers must be captured, response is not json, etc.

Required Methods§

Source

fn raw_query(&self, client: &C) -> Result<Response<Bytes>, ApiError<C::Error>>

Perform the query against the client.

Implementors§

Source§

impl<E, C> RawQuery<C> for E
where E: RestEndpoint, C: Client,

Raw Query implementation