pub struct PlatformMetricsResponse {
pub meta: Option<Box<PlatformMetadata>>,
pub data: Option<Vec<PlatformValues>>,
}Fields§
§meta: Option<Box<PlatformMetadata>>§data: Option<Vec<PlatformValues>>An array of values representing the metric values at each point in time. Note that this dataset is sparse: only the keys with non-zero values will be included in the record.
Implementations§
Source§impl PlatformMetricsResponse
impl PlatformMetricsResponse
pub fn new() -> PlatformMetricsResponse
Trait Implementations§
Source§impl Clone for PlatformMetricsResponse
impl Clone for PlatformMetricsResponse
Source§fn clone(&self) -> PlatformMetricsResponse
fn clone(&self) -> PlatformMetricsResponse
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 PlatformMetricsResponse
impl Debug for PlatformMetricsResponse
Source§impl Default for PlatformMetricsResponse
impl Default for PlatformMetricsResponse
Source§fn default() -> PlatformMetricsResponse
fn default() -> PlatformMetricsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformMetricsResponse
impl<'de> Deserialize<'de> for PlatformMetricsResponse
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
Source§impl PartialEq for PlatformMetricsResponse
impl PartialEq for PlatformMetricsResponse
Source§impl Serialize for PlatformMetricsResponse
impl Serialize for PlatformMetricsResponse
impl StructuralPartialEq for PlatformMetricsResponse
Auto Trait Implementations§
impl Freeze for PlatformMetricsResponse
impl RefUnwindSafe for PlatformMetricsResponse
impl Send for PlatformMetricsResponse
impl Sync for PlatformMetricsResponse
impl Unpin for PlatformMetricsResponse
impl UnwindSafe for PlatformMetricsResponse
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