pub struct IdentityClient { /* private fields */ }
Expand description
eBay Commerce Identity API client for user identity operations
Implementations§
Source§impl IdentityClient
impl IdentityClient
Sourcepub fn new(config: EbayConfig) -> HermesResult<Self>
pub fn new(config: EbayConfig) -> HermesResult<Self>
Create a new Identity API client
Sourcepub async fn get_user(&self) -> HermesResult<UserResponse>
pub async fn get_user(&self) -> HermesResult<UserResponse>
Get user information for the authenticated user
Auto Trait Implementations§
impl Freeze for IdentityClient
impl !RefUnwindSafe for IdentityClient
impl Send for IdentityClient
impl Sync for IdentityClient
impl Unpin for IdentityClient
impl !UnwindSafe for IdentityClient
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