pub struct ClientBuilder { /* private fields */ }Expand description
A builder for a Client.
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn build(self, config: ClientConfig) -> Client
pub fn build(self, config: ClientConfig) -> Client
Creates a Client that incorporates the optional parameters
configured on the builder and the specified required parameters.
Trait Implementations§
Source§impl Default for ClientBuilder
impl Default for ClientBuilder
Source§fn default() -> ClientBuilder
fn default() -> ClientBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnwindSafe for ClientBuilder
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