pub struct InfrastructureApi { /* private fields */ }Expand description
API client for Datadog infrastructure endpoints.
Implementations§
Source§impl InfrastructureApi
impl InfrastructureApi
Sourcepub const fn new(client: DatadogClient) -> Self
pub const fn new(client: DatadogClient) -> Self
Creates a new API client.
pub async fn list_hosts(&self) -> Result<HostsResponse>
Auto Trait Implementations§
impl Freeze for InfrastructureApi
impl !RefUnwindSafe for InfrastructureApi
impl Send for InfrastructureApi
impl Sync for InfrastructureApi
impl Unpin for InfrastructureApi
impl !UnwindSafe for InfrastructureApi
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