#[non_exhaustive]pub enum ScalarQuery {
MetricsScalarQuery(Box<MetricsScalarQuery>),
EventsScalarQuery(Box<EventsScalarQuery>),
UnparsedObject(UnparsedObject),
}
Expand description
An individual scalar query to one of the basic Datadog data sources.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MetricsScalarQuery(Box<MetricsScalarQuery>)
EventsScalarQuery(Box<EventsScalarQuery>)
UnparsedObject(UnparsedObject)
Trait Implementations§
Source§impl Clone for ScalarQuery
impl Clone for ScalarQuery
Source§fn clone(&self) -> ScalarQuery
fn clone(&self) -> ScalarQuery
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 ScalarQuery
impl Debug for ScalarQuery
Source§impl<'de> Deserialize<'de> for ScalarQuery
impl<'de> Deserialize<'de> for ScalarQuery
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 ScalarQuery
impl PartialEq for ScalarQuery
Source§impl Serialize for ScalarQuery
impl Serialize for ScalarQuery
impl StructuralPartialEq for ScalarQuery
Auto Trait Implementations§
impl Freeze for ScalarQuery
impl RefUnwindSafe for ScalarQuery
impl Send for ScalarQuery
impl Sync for ScalarQuery
impl Unpin for ScalarQuery
impl UnwindSafe for ScalarQuery
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