pub struct ConfigurationBuilder { /* private fields */ }Implementations§
Source§impl ConfigurationBuilder
impl ConfigurationBuilder
pub fn new() -> Self
pub fn base_url(self, baseurl: impl Into<String>) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn accept_invalid_certificates( self, accept_invalid_certificates: bool, ) -> Self
pub fn max_bulk_size(self, max_bulk_size: u32) -> Self
pub fn basic_auth( self, username: impl Into<String>, password: impl Into<String>, ) -> Self
pub fn token_auth(self, token: impl Into<String>) -> Self
pub fn legacy_auth(self, legacy_auth_token: impl Into<String>) -> Self
pub fn retries(self, retries: u32) -> Self
pub fn proxy(self, proxy: bool) -> Self
pub fn proxy_url(self, proxy_url: impl AsRef<str>) -> Result<Self, Error>
pub fn no_proxy_domain(self, no_proxy_domain: impl AsRef<str>) -> Self
pub fn build(self) -> OsClient
Trait Implementations§
Source§impl Clone for ConfigurationBuilder
impl Clone for ConfigurationBuilder
Source§fn clone(&self) -> ConfigurationBuilder
fn clone(&self) -> ConfigurationBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigurationBuilder
impl Debug for ConfigurationBuilder
Auto Trait Implementations§
impl !Freeze for ConfigurationBuilder
impl !RefUnwindSafe for ConfigurationBuilder
impl Send for ConfigurationBuilder
impl Sync for ConfigurationBuilder
impl Unpin for ConfigurationBuilder
impl !UnwindSafe for ConfigurationBuilder
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