pub struct DiscogsClientBuilder { /* private fields */ }Implementations§
Source§impl DiscogsClientBuilder
impl DiscogsClientBuilder
pub fn base_url(self, base_url: impl Into<String>) -> Self
pub fn auth(self, auth: Auth) -> Self
pub fn user_token(self, token: impl Into<String>) -> Self
pub fn output_format(self, output_format: OutputFormat) -> Self
pub fn retry(self, retry: RetryConfig) -> Self
pub fn timeout(self, timeout: Duration) -> Self
pub fn build(self) -> Result<DiscogsClient>
Auto Trait Implementations§
impl Freeze for DiscogsClientBuilder
impl RefUnwindSafe for DiscogsClientBuilder
impl Send for DiscogsClientBuilder
impl Sync for DiscogsClientBuilder
impl Unpin for DiscogsClientBuilder
impl UnsafeUnpin for DiscogsClientBuilder
impl UnwindSafe for DiscogsClientBuilder
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