Struct graph_rs_sdk::http::IntoResponse
source · [−]pub struct IntoResponse<'a, T, Client> where
Client: RequestClient, { /* private fields */ }Implementations
Filters properties (columns). See the docs
Retrieves related resources. See the docs
Filters results (rows). See the docs
Orders results. See the docs
Returns results based on search criteria. See the docs
Returns the results in the specified media format. See the docs
Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results. See the docs
Sets the page size of results. See the docs
Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Retrieves the total count of matching resources. See the docs
pub fn header<H>(
self,
name: H,
value: HeaderValue
) -> IntoResponse<'a, T, Client> where
H: IntoHeaderName,
pub fn json<U>(self) -> Result<GraphResponse<U>, GraphFailure> where
U: for<'de> Deserialize<'de>,
impl<'a, T> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
T: for<'de> Deserialize<'de>,
impl<'a, T> IntoResponse<'a, T, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
T: for<'de> Deserialize<'de>,
impl<'a> IntoResponse<'a, UploadSessionClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>
impl<'a> IntoResponse<'a, UploadSessionClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>
pub fn build(
self
) -> DispatchRequest<UploadSessionClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>, RequestBuilder>
pub fn send(
self
) -> Result<UploadSessionClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>, GraphFailure>
impl<'a, T> IntoResponse<'a, DeltaPhantom<T>, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
T: 'static + Send + ODataLink<T> + Clone + for<'de> Deserialize<'de>,
impl<'a, T> IntoResponse<'a, DeltaPhantom<T>, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>> where
T: 'static + Send + ODataLink<T> + Clone + for<'de> Deserialize<'de>,
impl<'a> IntoResponse<'a, DownloadClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>, RefCell<DownloadRequest>>, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>
impl<'a> IntoResponse<'a, DownloadClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>, RefCell<DownloadRequest>>, HttpClient<RefCell<GraphRequest<Client, Body, Form>>>>
pub fn download<P>(
self,
path: P
) -> Result<DownloadClient<HttpClient<RefCell<GraphRequest<Client, Body, Form>>>, RefCell<DownloadRequest>>, GraphFailure> where
P: AsRef<Path>,
pub async fn json<U>(self) -> Result<GraphResponse<U>, GraphFailure> where
U: for<'de> Deserialize<'de>,
impl<'a, T> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
T: for<'de> Deserialize<'de>,
impl<'a, T> IntoResponse<'a, T, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
T: for<'de> Deserialize<'de>,
impl<'a> IntoResponse<'a, NoContent, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
impl<'a> IntoResponse<'a, NoContent, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
impl<'a> IntoResponse<'a, UploadSessionClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
impl<'a> IntoResponse<'a, UploadSessionClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
pub async fn build(
self
) -> DispatchRequest<UploadSessionClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>, RequestBuilder>
pub async fn send(
self
) -> Result<UploadSessionClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>, GraphFailure>
impl<'a, T> IntoResponse<'a, DeltaPhantom<T>, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
T: 'static + Send + ODataLink<T> + Clone + for<'de> Deserialize<'de>,
impl<'a, T> IntoResponse<'a, DeltaPhantom<T>, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>> where
T: 'static + Send + ODataLink<T> + Clone + for<'de> Deserialize<'de>,
impl<'a> IntoResponse<'a, DownloadClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>, Arc<Mutex<DownloadRequest>>>, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
impl<'a> IntoResponse<'a, DownloadClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>, Arc<Mutex<DownloadRequest>>>, HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>>
pub async fn download<P>(
self,
path: P
) -> Result<DownloadClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>, Arc<Mutex<DownloadRequest>>>, GraphFailure> where
P: AsRef<Path>,
Auto Trait Implementations
impl<'a, T, Client> !RefUnwindSafe for IntoResponse<'a, T, Client>
impl<'a, T, Client> Send for IntoResponse<'a, T, Client> where
Client: Sync,
T: Send,
impl<'a, T, Client> Sync for IntoResponse<'a, T, Client> where
Client: Sync,
T: Sync,
impl<'a, T, Client> Unpin for IntoResponse<'a, T, Client> where
T: Unpin,
impl<'a, T, Client> !UnwindSafe for IntoResponse<'a, T, Client>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more