pub struct MetricValue(pub Value);Tuple Fields§
§0: ValueImplementations§
Trait Implementations§
Source§impl Clone for MetricValue
impl Clone for MetricValue
Source§fn clone(&self) -> MetricValue
fn clone(&self) -> MetricValue
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 MetricValue
impl Debug for MetricValue
Source§impl From<DateTime> for MetricValue
impl From<DateTime> for MetricValue
Source§impl From<MetricValue> for Value
impl From<MetricValue> for Value
Source§fn from(value: MetricValue) -> Self
fn from(value: MetricValue) -> Self
Converts to this type from the input type.
Source§impl From<String> for MetricValue
impl From<String> for MetricValue
Source§impl From<TemplateDefinition> for MetricValue
impl From<TemplateDefinition> for MetricValue
Source§fn from(value: TemplateDefinition) -> Self
fn from(value: TemplateDefinition) -> Self
Converts to this type from the input type.
Source§impl From<TemplateInstance> for MetricValue
impl From<TemplateInstance> for MetricValue
Source§fn from(value: TemplateInstance) -> Self
fn from(value: TemplateInstance) -> Self
Converts to this type from the input type.
Source§impl From<Value> for MetricValue
impl From<Value> for MetricValue
Source§impl From<bool> for MetricValue
impl From<bool> for MetricValue
Source§impl From<f32> for MetricValue
impl From<f32> for MetricValue
Source§impl From<f64> for MetricValue
impl From<f64> for MetricValue
Source§impl From<i16> for MetricValue
impl From<i16> for MetricValue
Source§impl From<i32> for MetricValue
impl From<i32> for MetricValue
Source§impl From<i64> for MetricValue
impl From<i64> for MetricValue
Source§impl From<i8> for MetricValue
impl From<i8> for MetricValue
Source§impl From<u16> for MetricValue
impl From<u16> for MetricValue
Source§impl From<u32> for MetricValue
impl From<u32> for MetricValue
Source§impl From<u64> for MetricValue
impl From<u64> for MetricValue
Source§impl From<u8> for MetricValue
impl From<u8> for MetricValue
Source§impl TryFrom<MetricValue> for DateTime
impl TryFrom<MetricValue> for DateTime
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for String
impl TryFrom<MetricValue> for String
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for TemplateDefinition
impl TryFrom<MetricValue> for TemplateDefinition
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for TemplateInstance
impl TryFrom<MetricValue> for TemplateInstance
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for TemplateValue
impl TryFrom<MetricValue> for TemplateValue
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<DateTime>
impl TryFrom<MetricValue> for Vec<DateTime>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<String>
impl TryFrom<MetricValue> for Vec<String>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<bool>
impl TryFrom<MetricValue> for Vec<bool>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<f32>
impl TryFrom<MetricValue> for Vec<f32>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<f64>
impl TryFrom<MetricValue> for Vec<f64>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<i16>
impl TryFrom<MetricValue> for Vec<i16>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<i32>
impl TryFrom<MetricValue> for Vec<i32>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<i64>
impl TryFrom<MetricValue> for Vec<i64>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<i8>
impl TryFrom<MetricValue> for Vec<i8>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<u16>
impl TryFrom<MetricValue> for Vec<u16>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<u32>
impl TryFrom<MetricValue> for Vec<u32>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<u64>
impl TryFrom<MetricValue> for Vec<u64>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for Vec<u8>
impl TryFrom<MetricValue> for Vec<u8>
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for bool
impl TryFrom<MetricValue> for bool
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for f32
impl TryFrom<MetricValue> for f32
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for f64
impl TryFrom<MetricValue> for f64
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for i16
impl TryFrom<MetricValue> for i16
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for i32
impl TryFrom<MetricValue> for i32
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for i64
impl TryFrom<MetricValue> for i64
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for i8
impl TryFrom<MetricValue> for i8
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for u16
impl TryFrom<MetricValue> for u16
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for u32
impl TryFrom<MetricValue> for u32
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for u64
impl TryFrom<MetricValue> for u64
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for u8
impl TryFrom<MetricValue> for u8
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for MetricValue
impl RefUnwindSafe for MetricValue
impl Send for MetricValue
impl Sync for MetricValue
impl Unpin for MetricValue
impl UnwindSafe for MetricValue
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