pub struct ClientBuilder { /* private fields */ }Implementations§
Source§impl ClientBuilder
impl ClientBuilder
pub fn new(api_key: ApiKey) -> Self
pub fn new_with_access_token(access_token: OAuthAccessToken) -> Self
pub fn sandbox(self, sandbox: bool) -> Self
pub fn region(self, region: Region) -> Self
pub fn with_base_urls(self, api_base_url: Url, sync_base_url: Url) -> Self
pub fn http_client(self, http_client: Client) -> Self
pub fn http_clients( self, http_client: Client, redirectless_http_client: Client, ) -> Self
pub fn transport_config(self, transport_config: TransportConfig) -> Self
pub fn build(self) -> Result<CloudConvertClient>
Trait Implementations§
Source§impl Clone for ClientBuilder
impl Clone for ClientBuilder
Source§fn clone(&self) -> ClientBuilder
fn clone(&self) -> ClientBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientBuilder
impl !RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnsafeUnpin 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