[−][src]Struct graph_http::IntoResponse
Implementations
impl<'a, T, Client> IntoResponse<'a, T, Client> where
Client: RequestClient,
[src]
Client: RequestClient,
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]
client: &'a Client,
error: GraphFailure
) -> IntoResponse<'a, T, Client>
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]
U: Deserialize<'de>,
pub fn text(self) -> GraphResult<String>
[src]
impl<'a, T> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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]
pub fn build(self) -> DispatchBlocking<UploadSessionClient<BlockingHttpClient>>
[src]
pub fn send(self) -> GraphResult<UploadSessionClient<BlockingHttpClient>>
[src]
impl<'a> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>
[src]
pub fn build(self) -> DispatchBlocking<GraphResponse<Content>>
[src]
pub fn send(self) -> GraphResult<GraphResponse<Content>>
[src]
impl<'a, T: 'static + Send + NextLink + Clone> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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]
U: Deserialize<'de>,
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]
T: Deserialize<'de>,
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]
pub async fn build(self) -> DispatchAsync<GraphResponse<Content>>
[src]
pub async fn send(self) -> GraphResult<GraphResponse<Content>>
[src]
impl<'a> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
[src]
pub async fn build(self) -> DispatchAsync<UploadSessionClient<AsyncHttpClient>>
[src]
pub async fn send(self) -> GraphResult<UploadSessionClient<AsyncHttpClient>>
[src]
impl<'a, T: 'static + Send + NextLink + Clone> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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]
Client: Sync,
T: Send,
impl<'a, T, Client> Sync for IntoResponse<'a, T, Client> where
Client: Sync,
T: Sync,
[src]
Client: Sync,
T: Sync,
impl<'a, T, Client> Unpin for IntoResponse<'a, T, Client> where
T: Unpin,
[src]
T: Unpin,
impl<'a, T, Client> !UnwindSafe for IntoResponse<'a, T, Client>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,