Struct graph_http::HttpClient
source ·
[−]pub struct HttpClient<Client> { /* fields omitted */ }
Implementations
pub async fn execute<T>(&self) -> GraphResult<GraphResponse<T>> where
for<'de> T: Deserialize<'de>,
Trait Implementations
impl From<GraphRequest<Client, Body, Form>> for HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>
impl From<GraphRequest<Client, Body, Form>> for HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>
Performs the conversion.
Auto Trait Implementations
impl<Client> RefUnwindSafe for HttpClient<Client> where
Client: RefUnwindSafe,
impl<Client> Send for HttpClient<Client> where
Client: Send,
impl<Client> Sync for HttpClient<Client> where
Client: Sync,
impl<Client> Unpin for HttpClient<Client> where
Client: Unpin,
impl<Client> UnwindSafe for HttpClient<Client> where
Client: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. 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