Struct graph_http::api_impl::BlockingClient
source · pub struct BlockingClient { /* private fields */ }
Implementations§
source§impl BlockingClient
impl BlockingClient
pub fn new<AT: ToString>(access_token: AT) -> BlockingClient
sourcepub fn new_env<K: AsRef<OsStr>>(env_var: K) -> Result<BlockingClient, VarError>
pub fn new_env<K: AsRef<OsStr>>(env_var: K) -> Result<BlockingClient, VarError>
Create a new client and use the given environment variable for the access token.
pub fn builder() -> GraphClientConfiguration
pub fn headers(&self) -> &HeaderMap
Trait Implementations§
source§impl Clone for BlockingClient
impl Clone for BlockingClient
source§fn clone(&self) -> BlockingClient
fn clone(&self) -> BlockingClient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more