pub struct DomainInspectorRealtimeEntry {
pub recorded: Option<i32>,
pub aggregated: Option<HashMap<String, DomainInspectorMeasurements>>,
pub datacenter: Option<HashMap<String, HashMap<String, DomainInspectorMeasurements>>>,
}
Expand description
DomainInspectorRealtimeEntry : Each reporting period is represented by an entry in the Data
property of the top level response and provides access to measurement data for that time period, grouped in various ways: by domain name, domain IP address, and optionally by POP. The datacenter
property organizes the measurements by Fastly POP, while the aggregated
property combines the measurements of all POPs (but still splits by backend name and IP).
Fields§
§recorded: Option<i32>
The Unix timestamp at which this record’s data was generated.
aggregated: Option<HashMap<String, DomainInspectorMeasurements>>
Groups measurements by backend name and then by IP address.
datacenter: Option<HashMap<String, HashMap<String, DomainInspectorMeasurements>>>
Groups measurements by POP, then backend name, and then IP address. See the POPs API for details about POP identifiers.
Implementations§
Source§impl DomainInspectorRealtimeEntry
impl DomainInspectorRealtimeEntry
Sourcepub fn new() -> DomainInspectorRealtimeEntry
pub fn new() -> DomainInspectorRealtimeEntry
Each reporting period is represented by an entry in the Data
property of the top level response and provides access to measurement data for that time period, grouped in various ways: by domain name, domain IP address, and optionally by POP. The datacenter
property organizes the measurements by Fastly POP, while the aggregated
property combines the measurements of all POPs (but still splits by backend name and IP).
Trait Implementations§
Source§impl Clone for DomainInspectorRealtimeEntry
impl Clone for DomainInspectorRealtimeEntry
Source§fn clone(&self) -> DomainInspectorRealtimeEntry
fn clone(&self) -> DomainInspectorRealtimeEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DomainInspectorRealtimeEntry
impl Debug for DomainInspectorRealtimeEntry
Source§impl Default for DomainInspectorRealtimeEntry
impl Default for DomainInspectorRealtimeEntry
Source§fn default() -> DomainInspectorRealtimeEntry
fn default() -> DomainInspectorRealtimeEntry
Source§impl<'de> Deserialize<'de> for DomainInspectorRealtimeEntry
impl<'de> Deserialize<'de> for DomainInspectorRealtimeEntry
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>,
Source§impl PartialEq for DomainInspectorRealtimeEntry
impl PartialEq for DomainInspectorRealtimeEntry
Source§fn eq(&self, other: &DomainInspectorRealtimeEntry) -> bool
fn eq(&self, other: &DomainInspectorRealtimeEntry) -> bool
self
and other
values to be equal, and is used by ==
.