#[non_exhaustive]pub struct IPRanges {Show 14 fields
pub agents: Option<IPPrefixesAgents>,
pub api: Option<IPPrefixesAPI>,
pub apm: Option<IPPrefixesAPM>,
pub global: Option<IPPrefixesGlobal>,
pub logs: Option<IPPrefixesLogs>,
pub modified: Option<String>,
pub orchestrator: Option<IPPrefixesOrchestrator>,
pub process: Option<IPPrefixesProcess>,
pub remote_configuration: Option<IPPrefixesRemoteConfiguration>,
pub synthetics: Option<IPPrefixesSynthetics>,
pub synthetics_private_locations: Option<IPPrefixesSyntheticsPrivateLocations>,
pub version: Option<i64>,
pub webhooks: Option<IPPrefixesWebhooks>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
IP ranges.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.agents: Option<IPPrefixesAgents>
Available prefix information for the Agent endpoints.
api: Option<IPPrefixesAPI>
Available prefix information for the API endpoints.
apm: Option<IPPrefixesAPM>
Available prefix information for the APM endpoints.
global: Option<IPPrefixesGlobal>
Available prefix information for all Datadog endpoints.
logs: Option<IPPrefixesLogs>
Available prefix information for the Logs endpoints.
modified: Option<String>
Date when last updated, in the form YYYY-MM-DD-hh-mm-ss
.
orchestrator: Option<IPPrefixesOrchestrator>
Available prefix information for the Orchestrator endpoints.
process: Option<IPPrefixesProcess>
Available prefix information for the Process endpoints.
remote_configuration: Option<IPPrefixesRemoteConfiguration>
Available prefix information for the Remote Configuration endpoints.
synthetics: Option<IPPrefixesSynthetics>
Available prefix information for the Synthetics endpoints.
synthetics_private_locations: Option<IPPrefixesSyntheticsPrivateLocations>
Available prefix information for the Synthetics Private Locations endpoints.
version: Option<i64>
Version of the IP list.
webhooks: Option<IPPrefixesWebhooks>
Available prefix information for the Webhook endpoints.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl IPRanges
impl IPRanges
pub fn new() -> IPRanges
pub fn agents(self, value: IPPrefixesAgents) -> Self
pub fn api(self, value: IPPrefixesAPI) -> Self
pub fn apm(self, value: IPPrefixesAPM) -> Self
pub fn global(self, value: IPPrefixesGlobal) -> Self
pub fn logs(self, value: IPPrefixesLogs) -> Self
pub fn modified(self, value: String) -> Self
pub fn orchestrator(self, value: IPPrefixesOrchestrator) -> Self
pub fn process(self, value: IPPrefixesProcess) -> Self
pub fn remote_configuration(self, value: IPPrefixesRemoteConfiguration) -> Self
pub fn synthetics(self, value: IPPrefixesSynthetics) -> Self
pub fn synthetics_private_locations( self, value: IPPrefixesSyntheticsPrivateLocations, ) -> Self
pub fn version(self, value: i64) -> Self
pub fn webhooks(self, value: IPPrefixesWebhooks) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IPRanges
impl<'de> Deserialize<'de> for IPRanges
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for IPRanges
Auto Trait Implementations§
impl Freeze for IPRanges
impl RefUnwindSafe for IPRanges
impl Send for IPRanges
impl Sync for IPRanges
impl Unpin for IPRanges
impl UnwindSafe for IPRanges
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