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 availability_statuses_client(&self) -> Client
pub fn emerging_issues_client(&self) -> Client
pub fn event_client(&self) -> Client
pub fn events_client(&self) -> Client
pub fn impacted_resources_client(&self) -> Client
pub fn metadata_client(&self) -> Client
pub fn operations_client(&self) -> Client
pub fn security_advisory_impacted_resources_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