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 job_collections_client(&self) -> Client
pub fn jobs_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