[][src]Struct graph_http::IntoResponse

pub struct IntoResponse<'a, T, Client> where
    Client: RequestClient
{ /* fields omitted */ }

Implementations

impl<'a, T, Client> IntoResponse<'a, T, Client> where
    Client: RequestClient
[src]

pub fn new(client: &'a Client) -> IntoResponse<'a, T, Client>[src]

pub fn new_error(
    client: &'a Client,
    error: GraphFailure
) -> IntoResponse<'a, T, Client>
[src]

pub fn query(self, key: &str, value: &str) -> Self[src]

pub fn select(self, value: &[&str]) -> Self[src]

pub fn expand(self, value: &[&str]) -> Self[src]

pub fn filter(self, value: &[&str]) -> Self[src]

pub fn order_by(self, value: &[&str]) -> Self[src]

pub fn search(self, value: &str) -> Self[src]

pub fn format(self, value: &str) -> Self[src]

pub fn skip(self, value: &str) -> Self[src]

pub fn top(self, value: &str) -> Self[src]

pub fn header<H: IntoHeaderName>(self, name: H, value: HeaderValue) -> Self[src]

impl<'a, T> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>[src]

pub fn json<U>(self) -> GraphResult<U> where
    U: Deserialize<'de>, 
[src]

pub fn text(self) -> GraphResult<String>[src]

impl<'a, T> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
    T: Deserialize<'de>, 
[src]

pub fn build(self) -> DispatchBlocking<T>[src]

pub fn send(self) -> GraphResult<GraphResponse<T>>[src]

impl<'a> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>[src]

impl<'a> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>[src]

impl<'a, T: 'static + Send + NextLink + Clone> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
    T: Deserialize<'de>, 
[src]

pub fn build(self) -> DispatchDelta<T, RequestBuilder>[src]

pub fn send(self) -> Receiver<Delta<T>>[src]

impl<'a, T> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>[src]

pub async fn json<U>(self) -> GraphResult<U> where
    U: Deserialize<'de>, 
[src]

pub async fn text(self) -> GraphResult<String>[src]

impl<'a, T> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
    T: Deserialize<'de>, 
[src]

pub async fn build(self) -> DispatchAsync<T>[src]

pub async fn send(self) -> GraphResult<GraphResponse<T>>[src]

impl<'a> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>[src]

impl<'a> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>[src]

impl<'a, T: 'static + Send + NextLink + Clone> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
    T: Deserialize<'de>, 
[src]

pub async fn build(self) -> DispatchDelta<T, RequestBuilder>[src]

pub async fn send(self) -> Receiver<Delta<T>>[src]

Auto Trait Implementations

impl<'a, T, Client> !RefUnwindSafe for IntoResponse<'a, T, Client>[src]

impl<'a, T, Client> Send for IntoResponse<'a, T, Client> where
    Client: Sync,
    T: Send
[src]

impl<'a, T, Client> Sync for IntoResponse<'a, T, Client> where
    Client: Sync,
    T: Sync
[src]

impl<'a, T, Client> Unpin for IntoResponse<'a, T, Client> where
    T: Unpin
[src]

impl<'a, T, Client> !UnwindSafe for IntoResponse<'a, T, Client>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.