pub struct Client { /* private fields */ }Expand description
Represents the ARI client.
This struct holds the configuration and HTTP client for making requests to the ARI API.
Implementations§
Source§impl Client
impl Client
Sourcepub fn with_config(config: Config) -> Self
pub fn with_config(config: Config) -> Self
Sourcepub fn with_client(self, client: Client) -> Self
pub fn with_client(self, client: Client) -> Self
Sourcepub fn applications(&self) -> Applications<'_>
pub fn applications(&self) -> Applications<'_>
Returns an instance of the Applications API.
Sourcepub fn recordings(&self) -> Recordings<'_>
pub fn recordings(&self) -> Recordings<'_>
Returns an instance of the Recordings API.
Sourcepub fn device_stats(&self) -> DeviceStats<'_>
pub fn device_stats(&self) -> DeviceStats<'_>
Returns an instance of the DeviceStats API.
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