pub struct ApiClientBuilder { /* private fields */ }Implementations§
Source§impl ApiClientBuilder
impl ApiClientBuilder
pub fn new(prefix: &str) -> Self
pub fn authentication(&mut self, auth: Authentication) -> &mut Self
pub fn user_agent(&mut self, user_agent: &str) -> &mut Self
pub fn build(&self) -> Result<ApiClient>
Auto Trait Implementations§
impl Freeze for ApiClientBuilder
impl RefUnwindSafe for ApiClientBuilder
impl Send for ApiClientBuilder
impl Sync for ApiClientBuilder
impl Unpin for ApiClientBuilder
impl UnsafeUnpin for ApiClientBuilder
impl UnwindSafe for ApiClientBuilder
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