pub struct ClientBuilder { /* private fields */ }Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn with_api_key(self, api_key: impl Into<String>) -> Self
pub fn with_api_key(self, api_key: impl Into<String>) -> Self
The API key. Defaults to EPOCHAL_API_KEY.
Sourcepub fn with_base_url(self, base_url: impl Into<String>) -> Self
pub fn with_base_url(self, base_url: impl Into<String>) -> Self
Where requests go. Defaults to EPOCHAL_BASE_URL, then https://api.epochal.com.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ClientBuilder
impl Freeze for ClientBuilder
impl Move for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilderwhere
RawVecInner: Send,
impl Sync for ClientBuilderwhere
RawVecInner: Sync,
impl Unpin for ClientBuilder
impl UnsafeUnpin for ClientBuilder
impl UnwindSafe for ClientBuilderwhere
RawVecInner: UnwindSafe,
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