pub struct ClientBuilder { /* private fields */ }
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn url<S: ToString>(self, url: S) -> Self
pub fn url<S: ToString>(self, url: S) -> Self
Set the base url with port for the client api
The default value is 127.0.0.1:45869
Sourcepub fn access_key<S: ToString>(self, key: S) -> Self
pub fn access_key<S: ToString>(self, key: S) -> Self
Sets the access key for the client. The key is required
Trait Implementations§
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