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 subscriptions_client(&self) -> Client
pub fn tenants_client(&self) -> Client
source§impl Client
impl Client
sourcepub fn check_resource_name(&self) -> RequestBuilder
pub fn check_resource_name(&self) -> RequestBuilder
Checks resource name validity A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word
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