pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
Sourcepub fn builder(credential: Arc<dyn TokenCredential>) -> ClientBuilder
pub fn builder(credential: Arc<dyn TokenCredential>) -> ClientBuilder
Create a new ClientBuilder.
Sourcepub fn new(
endpoint: impl Into<Url>,
credential: Arc<dyn TokenCredential>,
scopes: Vec<String>,
options: ClientOptions,
) -> Self
pub fn new( endpoint: impl Into<Url>, credential: Arc<dyn TokenCredential>, scopes: Vec<String>, options: ClientOptions, ) -> Self
Create a new Client.
pub fn asc_operations_client(&self) -> Client
pub fn asc_usages_client(&self) -> Client
pub fn caches_client(&self) -> Client
pub fn operations_client(&self) -> Client
pub fn skus_client(&self) -> Client
pub fn storage_target_client(&self) -> Client
pub fn storage_targets_client(&self) -> Client
pub fn usage_models_client(&self) -> Client
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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