pub struct GatewayClientBuilder { /* private fields */ }Implementations§
Source§impl GatewayClientBuilder
impl GatewayClientBuilder
pub fn new(base_url: String) -> Self
pub fn with_api_key(self, api_key: impl Into<String>) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
pub fn build(self) -> Result<UltrafastClient, ClientError>
Auto Trait Implementations§
impl Freeze for GatewayClientBuilder
impl RefUnwindSafe for GatewayClientBuilder
impl Send for GatewayClientBuilder
impl Sync for GatewayClientBuilder
impl Unpin for GatewayClientBuilder
impl UnwindSafe for GatewayClientBuilder
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