pub struct IPRangesAPI { /* private fields */ }
Expand description
Get a list of IP prefixes belonging to Datadog.
Implementations§
Source§impl IPRangesAPI
impl IPRangesAPI
pub fn new() -> Self
Sourcepub fn with_config(config: Configuration) -> Self
pub fn with_config(config: Configuration) -> Self
pub fn with_client_and_config( config: Configuration, client: ClientWithMiddleware, ) -> Self
Sourcepub async fn get_ip_ranges(&self) -> Result<IPRanges, Error<GetIPRangesError>>
pub async fn get_ip_ranges(&self) -> Result<IPRanges, Error<GetIPRangesError>>
Get information about Datadog IP ranges.
Sourcepub async fn get_ip_ranges_with_http_info(
&self,
) -> Result<ResponseContent<IPRanges>, Error<GetIPRangesError>>
pub async fn get_ip_ranges_with_http_info( &self, ) -> Result<ResponseContent<IPRanges>, Error<GetIPRangesError>>
Get information about Datadog IP ranges.
Trait Implementations§
Source§impl Clone for IPRangesAPI
impl Clone for IPRangesAPI
Source§fn clone(&self) -> IPRangesAPI
fn clone(&self) -> IPRangesAPI
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IPRangesAPI
impl Debug for IPRangesAPI
Auto Trait Implementations§
impl Freeze for IPRangesAPI
impl !RefUnwindSafe for IPRangesAPI
impl Send for IPRangesAPI
impl Sync for IPRangesAPI
impl Unpin for IPRangesAPI
impl !UnwindSafe for IPRangesAPI
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