pub struct TokenScopedClient { /* private fields */ }Implementations§
Source§impl TokenScopedClient
impl TokenScopedClient
pub fn new( token: Arc<AccessToken>, user_client: Arc<UserClient>, quota_client: Arc<QuotaClient>, file_client: Arc<FileClient>, download_client: Arc<DownloadClient>, upload_client: Arc<UploadClient>, playlist_client: Arc<PlaylistClient>, ) -> Self
pub fn token(&self) -> &AccessToken
pub fn user(&self) -> &UserClient
pub fn quota(&self) -> &QuotaClient
pub fn file(&self) -> &FileClient
pub fn download(&self) -> &DownloadClient
pub fn upload(&self) -> &UploadClient
pub fn playlist(&self) -> &PlaylistClient
Trait Implementations§
Source§impl Clone for TokenScopedClient
impl Clone for TokenScopedClient
Source§fn clone(&self) -> TokenScopedClient
fn clone(&self) -> TokenScopedClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TokenScopedClient
impl !RefUnwindSafe for TokenScopedClient
impl Send for TokenScopedClient
impl Sync for TokenScopedClient
impl Unpin for TokenScopedClient
impl UnsafeUnpin for TokenScopedClient
impl !UnwindSafe for TokenScopedClient
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