pub enum V3SeriesMode {
Enabled,
Disabled,
DatadogOnly,
}Expand description
Whether series are routed to the V3 metrics intake (use_v3_api.series.*).
Each variant serializes to the spelling FromStr reads, so a serialized mode round-trips.
Variants§
Enabled
Route series to the V3 intake.
Disabled
Route series to the older intake.
DatadogOnly
Route series to the V3 intake only for endpoints that are Datadog intake URLs.
Trait Implementations§
Source§impl Clone for V3SeriesMode
impl Clone for V3SeriesMode
Source§fn clone(&self) -> V3SeriesMode
fn clone(&self) -> V3SeriesMode
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 V3SeriesMode
impl Debug for V3SeriesMode
Source§impl Default for V3SeriesMode
impl Default for V3SeriesMode
Source§fn default() -> V3SeriesMode
fn default() -> V3SeriesMode
Returns the “default value” for a type. Read more
Source§impl FromStr for V3SeriesMode
impl FromStr for V3SeriesMode
Source§impl PartialEq for V3SeriesMode
impl PartialEq for V3SeriesMode
Source§impl Serialize for V3SeriesMode
impl Serialize for V3SeriesMode
impl Copy for V3SeriesMode
impl Eq for V3SeriesMode
impl StructuralPartialEq for V3SeriesMode
Auto Trait Implementations§
impl Freeze for V3SeriesMode
impl RefUnwindSafe for V3SeriesMode
impl Send for V3SeriesMode
impl Sync for V3SeriesMode
impl Unpin for V3SeriesMode
impl UnwindSafe for V3SeriesMode
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