pub struct ApifyClientBuilder { /* private fields */ }Expand description
Fluent builder for ApifyClient.
ⓘ
let client = ApifyClientBuilder::new()
.token("xxx")
.timeout(Duration::from_secs(30))
.build();Implementations§
Source§impl ApifyClientBuilder
impl ApifyClientBuilder
Sourcepub fn build(self) -> ApifyClient
pub fn build(self) -> ApifyClient
Consume the builder and return an ApifyClient.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApifyClientBuilder
impl RefUnwindSafe for ApifyClientBuilder
impl Send for ApifyClientBuilder
impl Sync for ApifyClientBuilder
impl Unpin for ApifyClientBuilder
impl UnsafeUnpin for ApifyClientBuilder
impl UnwindSafe for ApifyClientBuilder
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