pub struct DiscogsClient { /* private fields */ }Implementations§
Source§impl DiscogsClient
impl DiscogsClient
pub fn builder(user_agent: impl Into<String>) -> DiscogsClientBuilder
pub fn with_default_user_agent() -> DiscogsClientBuilder
pub fn with_user_token( user_agent: impl Into<String>, token: impl Into<String>, ) -> Result<DiscogsClient>
pub fn with_default_user_agent_and_user_token( token: impl Into<String>, ) -> Result<DiscogsClient>
pub fn auth_level(&self) -> AuthLevel
pub async fn about(&self) -> Result<ApiResponse<AboutResponse>>
pub async fn get_identity(&self) -> Result<ApiResponse<Identity>>
pub fn database(&self) -> DatabaseApi<'_>
pub fn marketplace(&self) -> MarketplaceApi<'_>
pub fn inventory(&self) -> InventoryApi<'_>
pub fn user(&self) -> UserApi<'_>
pub fn collection(&self) -> CollectionApi<'_>
pub fn wantlist(&self) -> WantlistApi<'_>
pub fn list(&self) -> ListApi<'_>
Trait Implementations§
Source§impl Clone for DiscogsClient
impl Clone for DiscogsClient
Source§fn clone(&self) -> DiscogsClient
fn clone(&self) -> DiscogsClient
Returns a duplicate of the value. Read more
1.0.0 · 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 DiscogsClient
impl !RefUnwindSafe for DiscogsClient
impl Send for DiscogsClient
impl Sync for DiscogsClient
impl Unpin for DiscogsClient
impl UnsafeUnpin for DiscogsClient
impl !UnwindSafe for DiscogsClient
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