pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
Sourcepub fn with_client(self, client: Client) -> Self
pub fn with_client(self, client: Client) -> Self
Override the default underlying reqwest client
Sourcepub fn with_environment(self, env: impl Display) -> Self
pub fn with_environment(self, env: impl Display) -> Self
Override the default URL environment
pub fn with_bearer_auth(self, token: &str) -> Self
pub fn v1(&mut self) -> V1Client<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more