pub struct ClientBuilder<A> { /* private fields */ }Implementations§
Source§impl<A> ClientBuilder<A>
impl<A> ClientBuilder<A>
pub fn auth<S: AuthStrategy + 'static>(self, auth: S) -> ClientBuilder<S>
pub fn base_url(self, url: impl Into<String>) -> Self
pub fn user_agent(self, agent: impl Into<String>) -> Self
Source§impl<A: AuthStrategy + 'static> ClientBuilder<A>
impl<A: AuthStrategy + 'static> ClientBuilder<A>
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for ClientBuilder<A>where
A: Freeze,
impl<A> RefUnwindSafe for ClientBuilder<A>where
A: RefUnwindSafe,
impl<A> Send for ClientBuilder<A>where
A: Send,
impl<A> Sync for ClientBuilder<A>where
A: Sync,
impl<A> Unpin for ClientBuilder<A>where
A: Unpin,
impl<A> UnwindSafe for ClientBuilder<A>where
A: UnwindSafe,
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