pub struct OriginInspectorRealtimeEntry {
pub recorded: Option<i32>,
pub aggregated: Option<HashMap<String, OriginInspectorMeasurements>>,
pub datacenter: Option<HashMap<String, HashMap<String, OriginInspectorMeasurements>>>,
}
Expand description
OriginInspectorRealtimeEntry : 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 by origin name and optionally by POP. The datacenter
property organizes the measurements by Fastly POP, while the aggregated
property combines the measurements of all POPs.
Fields§
§recorded: Option<i32>
The Unix timestamp at which this record’s data was generated.
aggregated: Option<HashMap<String, OriginInspectorMeasurements>>
Groups measurements by backend name.
datacenter: Option<HashMap<String, HashMap<String, OriginInspectorMeasurements>>>
Groups measurements by POP, then backend name. See the POPs API for details about POP identifiers.
Implementations§
Source§impl OriginInspectorRealtimeEntry
impl OriginInspectorRealtimeEntry
Sourcepub fn new() -> OriginInspectorRealtimeEntry
pub fn new() -> OriginInspectorRealtimeEntry
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 by origin name and optionally by POP. The datacenter
property organizes the measurements by Fastly POP, while the aggregated
property combines the measurements of all POPs.
Trait Implementations§
Source§impl Clone for OriginInspectorRealtimeEntry
impl Clone for OriginInspectorRealtimeEntry
Source§fn clone(&self) -> OriginInspectorRealtimeEntry
fn clone(&self) -> OriginInspectorRealtimeEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for OriginInspectorRealtimeEntry
impl Debug for OriginInspectorRealtimeEntry
Source§impl Default for OriginInspectorRealtimeEntry
impl Default for OriginInspectorRealtimeEntry
Source§fn default() -> OriginInspectorRealtimeEntry
fn default() -> OriginInspectorRealtimeEntry
Source§impl<'de> Deserialize<'de> for OriginInspectorRealtimeEntry
impl<'de> Deserialize<'de> for OriginInspectorRealtimeEntry
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 OriginInspectorRealtimeEntry
impl PartialEq for OriginInspectorRealtimeEntry
Source§fn eq(&self, other: &OriginInspectorRealtimeEntry) -> bool
fn eq(&self, other: &OriginInspectorRealtimeEntry) -> bool
self
and other
values to be equal, and is used by ==
.