pub struct MetricQueryResponse {
pub status: String,
pub from_date: i64,
pub to_date: i64,
pub series: Vec<MetricSeries>,
}Expand description
Response from GET /api/v1/query.
from_date / to_date are in milliseconds since the Unix epoch — the
native unit Datadog emits.
Fields§
§status: StringQuery status (ok or error).
from_date: i64Start of the returned window in epoch milliseconds.
to_date: i64End of the returned window in epoch milliseconds.
series: Vec<MetricSeries>One entry per series returned by Datadog.
Trait Implementations§
Source§impl Clone for MetricQueryResponse
impl Clone for MetricQueryResponse
Source§fn clone(&self) -> MetricQueryResponse
fn clone(&self) -> MetricQueryResponse
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 MetricQueryResponse
impl Debug for MetricQueryResponse
Source§impl<'de> Deserialize<'de> for MetricQueryResponse
impl<'de> Deserialize<'de> for MetricQueryResponse
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 MetricQueryResponse
impl PartialEq for MetricQueryResponse
Source§impl Serialize for MetricQueryResponse
impl Serialize for MetricQueryResponse
impl StructuralPartialEq for MetricQueryResponse
Auto Trait Implementations§
impl Freeze for MetricQueryResponse
impl RefUnwindSafe for MetricQueryResponse
impl Send for MetricQueryResponse
impl Sync for MetricQueryResponse
impl Unpin for MetricQueryResponse
impl UnsafeUnpin for MetricQueryResponse
impl UnwindSafe for MetricQueryResponse
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