pub struct MetricQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub element_id: Option<u64>,
pub parent_id: Option<u64>,
pub metric_id: Option<u32>,
}
Fields§
§start_time: Option<i64>
§end_time: Option<i64>
§element_id: Option<u64>
§parent_id: Option<u64>
§metric_id: Option<u32>
Implementations§
Trait Implementations§
Source§impl Clone for MetricQuery
impl Clone for MetricQuery
Source§fn clone(&self) -> MetricQuery
fn clone(&self) -> MetricQuery
Returns a copy 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 MetricQuery
impl Debug for MetricQuery
Source§impl Default for MetricQuery
impl Default for MetricQuery
Source§fn default() -> MetricQuery
fn default() -> MetricQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricQuery
impl<'de> Deserialize<'de> for MetricQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MetricQuery
impl Serialize for MetricQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MetricQuery
impl RefUnwindSafe for MetricQuery
impl Send for MetricQuery
impl Sync for MetricQuery
impl Unpin for MetricQuery
impl UnwindSafe for MetricQuery
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