pub struct MetricPoint {
pub context: OclaRequestContext,
pub name: String,
pub value_milli: i64,
pub dimensions: BTreeMap<String, String>,
}Fields§
§context: OclaRequestContext[PII] Request context containing correlation identifiers.
name: String[PUBLIC] Metric name.
value_milli: i64[INTERNAL] Metric value.
dimensions: BTreeMap<String, String>[PII] Metric dimensions, which may contain user or workspace identifiers.
Trait Implementations§
Source§impl Clone for MetricPoint
impl Clone for MetricPoint
Source§fn clone(&self) -> MetricPoint
fn clone(&self) -> MetricPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetricPoint
impl Debug for MetricPoint
Source§impl<'de> Deserialize<'de> for MetricPoint
impl<'de> Deserialize<'de> for MetricPoint
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
impl Eq for MetricPoint
Source§impl PartialEq for MetricPoint
impl PartialEq for MetricPoint
Source§impl Serialize for MetricPoint
impl Serialize for MetricPoint
impl StructuralPartialEq for MetricPoint
Auto Trait Implementations§
impl Freeze for MetricPoint
impl RefUnwindSafe for MetricPoint
impl Send for MetricPoint
impl Sync for MetricPoint
impl Unpin for MetricPoint
impl UnsafeUnpin for MetricPoint
impl UnwindSafe for MetricPoint
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